github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/srpc/frame-close-stream.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package srpc 4 5 // import ( 6 // "../authorization" 7 // "../protocol" 8 // ) 9 10 // var closeStreamService = service.Service{ 11 // URN: "urn:giti:achaemenid.protocol:service:close-stream", 12 // Domain: DomainName, 13 // ID: 6917897595815184909, 14 // IssueDate: 1595478242, 15 // ExpiryDate: 0, 16 // ExpireInFavorOfURN: "", 17 // ExpireInFavorOfID: 0, 18 // Status: protocol.SoftwareStatePreAlpha, 19 20 // Authorization: authorization.Service{ 21 // CRUD: authorization.CRUDCreate, 22 // UserType: authorization.UserTypeAll, 23 // }, 24 25 // Detail: map[protocol.LanguageID]service.ServiceDetail{ 26 // protocol.LanguageEnglish: { 27 // Name: "Close Stream", 28 // Description: `use by peer to close unwanted active StreamID on other party due to MaxConcurrentStreams restriction.`, 29 // TAGS: []string{}, 30 // }, 31 // }, 32 33 // SRPCHandler: CloseStream, 34 // } 35 36 // // CloseStream use by peer to close unwanted active StreamID on other party due to MaxConcurrentStreams restriction. 37 // func CloseStream(st protocol.Stream) { 38 // } 39 40 // type closeStreamReq struct { 41 // }