2018-05-01 23:45:06 +00:00
// Code generated by capnpc-go. DO NOT EDIT.
package tunnelrpc
import (
2019-05-28 20:53:35 +00:00
context "golang.org/x/net/context"
2018-05-01 23:45:06 +00:00
capnp "zombiezen.com/go/capnproto2"
text "zombiezen.com/go/capnproto2/encoding/text"
schemas "zombiezen.com/go/capnproto2/schemas"
server "zombiezen.com/go/capnproto2/server"
)
type Authentication struct { capnp . Struct }
// Authentication_TypeID is the unique identifier for the type Authentication.
const Authentication_TypeID = 0xc082ef6e0d42ed1d
func NewAuthentication ( s * capnp . Segment ) ( Authentication , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } )
return Authentication { st } , err
}
func NewRootAuthentication ( s * capnp . Segment ) ( Authentication , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } )
return Authentication { st } , err
}
func ReadRootAuthentication ( msg * capnp . Message ) ( Authentication , error ) {
root , err := msg . RootPtr ( )
return Authentication { root . Struct ( ) } , err
}
func ( s Authentication ) String ( ) string {
str , _ := text . Marshal ( 0xc082ef6e0d42ed1d , s . Struct )
return str
}
func ( s Authentication ) Key ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . Text ( ) , err
}
func ( s Authentication ) HasKey ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s Authentication ) KeyBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . TextBytes ( ) , err
}
func ( s Authentication ) SetKey ( v string ) error {
return s . Struct . SetText ( 0 , v )
}
func ( s Authentication ) Email ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . Text ( ) , err
}
func ( s Authentication ) HasEmail ( ) bool {
p , err := s . Struct . Ptr ( 1 )
return p . IsValid ( ) || err != nil
}
func ( s Authentication ) EmailBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . TextBytes ( ) , err
}
func ( s Authentication ) SetEmail ( v string ) error {
return s . Struct . SetText ( 1 , v )
}
func ( s Authentication ) OriginCAKey ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 2 )
return p . Text ( ) , err
}
func ( s Authentication ) HasOriginCAKey ( ) bool {
p , err := s . Struct . Ptr ( 2 )
return p . IsValid ( ) || err != nil
}
func ( s Authentication ) OriginCAKeyBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 2 )
return p . TextBytes ( ) , err
}
func ( s Authentication ) SetOriginCAKey ( v string ) error {
return s . Struct . SetText ( 2 , v )
}
// Authentication_List is a list of Authentication.
type Authentication_List struct { capnp . List }
// NewAuthentication creates a new list of Authentication.
func NewAuthentication_List ( s * capnp . Segment , sz int32 ) ( Authentication_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } , sz )
return Authentication_List { l } , err
}
func ( s Authentication_List ) At ( i int ) Authentication { return Authentication { s . List . Struct ( i ) } }
func ( s Authentication_List ) Set ( i int , v Authentication ) error { return s . List . SetStruct ( i , v . Struct ) }
2020-03-05 21:20:12 +00:00
func ( s Authentication_List ) String ( ) string {
str , _ := text . MarshalList ( 0xc082ef6e0d42ed1d , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// Authentication_Promise is a wrapper for a Authentication promised by a client call.
type Authentication_Promise struct { * capnp . Pipeline }
func ( p Authentication_Promise ) Struct ( ) ( Authentication , error ) {
s , err := p . Pipeline . Struct ( )
return Authentication { s } , err
}
type TunnelRegistration struct { capnp . Struct }
// TunnelRegistration_TypeID is the unique identifier for the type TunnelRegistration.
const TunnelRegistration_TypeID = 0xf41a0f001ad49e46
func NewTunnelRegistration ( s * capnp . Segment ) ( TunnelRegistration , error ) {
2020-03-05 21:20:12 +00:00
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 6 } )
2018-05-01 23:45:06 +00:00
return TunnelRegistration { st } , err
}
func NewRootTunnelRegistration ( s * capnp . Segment ) ( TunnelRegistration , error ) {
2020-03-05 21:20:12 +00:00
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 6 } )
2018-05-01 23:45:06 +00:00
return TunnelRegistration { st } , err
}
func ReadRootTunnelRegistration ( msg * capnp . Message ) ( TunnelRegistration , error ) {
root , err := msg . RootPtr ( )
return TunnelRegistration { root . Struct ( ) } , err
}
func ( s TunnelRegistration ) String ( ) string {
str , _ := text . Marshal ( 0xf41a0f001ad49e46 , s . Struct )
return str
}
func ( s TunnelRegistration ) Err ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . Text ( ) , err
}
func ( s TunnelRegistration ) HasErr ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelRegistration ) ErrBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . TextBytes ( ) , err
}
func ( s TunnelRegistration ) SetErr ( v string ) error {
return s . Struct . SetText ( 0 , v )
}
func ( s TunnelRegistration ) Url ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . Text ( ) , err
}
func ( s TunnelRegistration ) HasUrl ( ) bool {
p , err := s . Struct . Ptr ( 1 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelRegistration ) UrlBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . TextBytes ( ) , err
}
func ( s TunnelRegistration ) SetUrl ( v string ) error {
return s . Struct . SetText ( 1 , v )
}
func ( s TunnelRegistration ) LogLines ( ) ( capnp . TextList , error ) {
p , err := s . Struct . Ptr ( 2 )
return capnp . TextList { List : p . List ( ) } , err
}
func ( s TunnelRegistration ) HasLogLines ( ) bool {
p , err := s . Struct . Ptr ( 2 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelRegistration ) SetLogLines ( v capnp . TextList ) error {
return s . Struct . SetPtr ( 2 , v . List . ToPtr ( ) )
}
// NewLogLines sets the logLines field to a newly
// allocated capnp.TextList, preferring placement in s's segment.
func ( s TunnelRegistration ) NewLogLines ( n int32 ) ( capnp . TextList , error ) {
l , err := capnp . NewTextList ( s . Struct . Segment ( ) , n )
if err != nil {
return capnp . TextList { } , err
}
err = s . Struct . SetPtr ( 2 , l . List . ToPtr ( ) )
return l , err
}
func ( s TunnelRegistration ) PermanentFailure ( ) bool {
return s . Struct . Bit ( 0 )
}
func ( s TunnelRegistration ) SetPermanentFailure ( v bool ) {
s . Struct . SetBit ( 0 , v )
}
func ( s TunnelRegistration ) TunnelID ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 3 )
return p . Text ( ) , err
}
func ( s TunnelRegistration ) HasTunnelID ( ) bool {
p , err := s . Struct . Ptr ( 3 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelRegistration ) TunnelIDBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 3 )
return p . TextBytes ( ) , err
}
func ( s TunnelRegistration ) SetTunnelID ( v string ) error {
return s . Struct . SetText ( 3 , v )
}
2019-11-18 19:56:04 +00:00
func ( s TunnelRegistration ) RetryAfterSeconds ( ) uint16 {
return s . Struct . Uint16 ( 2 )
}
func ( s TunnelRegistration ) SetRetryAfterSeconds ( v uint16 ) {
s . Struct . SetUint16 ( 2 , v )
}
2019-11-22 16:17:23 +00:00
func ( s TunnelRegistration ) EventDigest ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 4 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s TunnelRegistration ) HasEventDigest ( ) bool {
p , err := s . Struct . Ptr ( 4 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelRegistration ) SetEventDigest ( v [ ] byte ) error {
return s . Struct . SetData ( 4 , v )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelRegistration ) ConnDigest ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 5 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s TunnelRegistration ) HasConnDigest ( ) bool {
p , err := s . Struct . Ptr ( 5 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelRegistration ) SetConnDigest ( v [ ] byte ) error {
return s . Struct . SetData ( 5 , v )
}
2018-05-01 23:45:06 +00:00
// TunnelRegistration_List is a list of TunnelRegistration.
type TunnelRegistration_List struct { capnp . List }
// NewTunnelRegistration creates a new list of TunnelRegistration.
func NewTunnelRegistration_List ( s * capnp . Segment , sz int32 ) ( TunnelRegistration_List , error ) {
2020-03-05 21:20:12 +00:00
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 6 } , sz )
2018-05-01 23:45:06 +00:00
return TunnelRegistration_List { l } , err
}
func ( s TunnelRegistration_List ) At ( i int ) TunnelRegistration {
return TunnelRegistration { s . List . Struct ( i ) }
}
func ( s TunnelRegistration_List ) Set ( i int , v TunnelRegistration ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelRegistration_List ) String ( ) string {
str , _ := text . MarshalList ( 0xf41a0f001ad49e46 , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// TunnelRegistration_Promise is a wrapper for a TunnelRegistration promised by a client call.
type TunnelRegistration_Promise struct { * capnp . Pipeline }
func ( p TunnelRegistration_Promise ) Struct ( ) ( TunnelRegistration , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelRegistration { s } , err
}
type RegistrationOptions struct { capnp . Struct }
// RegistrationOptions_TypeID is the unique identifier for the type RegistrationOptions.
const RegistrationOptions_TypeID = 0xc793e50592935b4a
func NewRegistrationOptions ( s * capnp . Segment ) ( RegistrationOptions , error ) {
2020-02-25 23:45:48 +00:00
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 16 , PointerCount : 8 } )
2018-05-01 23:45:06 +00:00
return RegistrationOptions { st } , err
}
func NewRootRegistrationOptions ( s * capnp . Segment ) ( RegistrationOptions , error ) {
2020-02-25 23:45:48 +00:00
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 16 , PointerCount : 8 } )
2018-05-01 23:45:06 +00:00
return RegistrationOptions { st } , err
}
func ReadRootRegistrationOptions ( msg * capnp . Message ) ( RegistrationOptions , error ) {
root , err := msg . RootPtr ( )
return RegistrationOptions { root . Struct ( ) } , err
}
func ( s RegistrationOptions ) String ( ) string {
str , _ := text . Marshal ( 0xc793e50592935b4a , s . Struct )
return str
}
func ( s RegistrationOptions ) ClientId ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . Text ( ) , err
}
func ( s RegistrationOptions ) HasClientId ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) ClientIdBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . TextBytes ( ) , err
}
func ( s RegistrationOptions ) SetClientId ( v string ) error {
return s . Struct . SetText ( 0 , v )
}
func ( s RegistrationOptions ) Version ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . Text ( ) , err
}
func ( s RegistrationOptions ) HasVersion ( ) bool {
p , err := s . Struct . Ptr ( 1 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) VersionBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . TextBytes ( ) , err
}
func ( s RegistrationOptions ) SetVersion ( v string ) error {
return s . Struct . SetText ( 1 , v )
}
func ( s RegistrationOptions ) Os ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 2 )
return p . Text ( ) , err
}
func ( s RegistrationOptions ) HasOs ( ) bool {
p , err := s . Struct . Ptr ( 2 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) OsBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 2 )
return p . TextBytes ( ) , err
}
func ( s RegistrationOptions ) SetOs ( v string ) error {
return s . Struct . SetText ( 2 , v )
}
func ( s RegistrationOptions ) ExistingTunnelPolicy ( ) ExistingTunnelPolicy {
return ExistingTunnelPolicy ( s . Struct . Uint16 ( 0 ) )
}
func ( s RegistrationOptions ) SetExistingTunnelPolicy ( v ExistingTunnelPolicy ) {
s . Struct . SetUint16 ( 0 , uint16 ( v ) )
}
func ( s RegistrationOptions ) PoolName ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 3 )
return p . Text ( ) , err
}
func ( s RegistrationOptions ) HasPoolName ( ) bool {
p , err := s . Struct . Ptr ( 3 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) PoolNameBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 3 )
return p . TextBytes ( ) , err
}
func ( s RegistrationOptions ) SetPoolName ( v string ) error {
return s . Struct . SetText ( 3 , v )
}
func ( s RegistrationOptions ) Tags ( ) ( Tag_List , error ) {
p , err := s . Struct . Ptr ( 4 )
return Tag_List { List : p . List ( ) } , err
}
func ( s RegistrationOptions ) HasTags ( ) bool {
p , err := s . Struct . Ptr ( 4 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) SetTags ( v Tag_List ) error {
return s . Struct . SetPtr ( 4 , v . List . ToPtr ( ) )
}
// NewTags sets the tags field to a newly
// allocated Tag_List, preferring placement in s's segment.
func ( s RegistrationOptions ) NewTags ( n int32 ) ( Tag_List , error ) {
l , err := NewTag_List ( s . Struct . Segment ( ) , n )
if err != nil {
return Tag_List { } , err
}
err = s . Struct . SetPtr ( 4 , l . List . ToPtr ( ) )
return l , err
}
func ( s RegistrationOptions ) ConnectionId ( ) uint8 {
return s . Struct . Uint8 ( 2 )
}
func ( s RegistrationOptions ) SetConnectionId ( v uint8 ) {
s . Struct . SetUint8 ( 2 , v )
}
func ( s RegistrationOptions ) OriginLocalIp ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 5 )
return p . Text ( ) , err
}
func ( s RegistrationOptions ) HasOriginLocalIp ( ) bool {
p , err := s . Struct . Ptr ( 5 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) OriginLocalIpBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 5 )
return p . TextBytes ( ) , err
}
func ( s RegistrationOptions ) SetOriginLocalIp ( v string ) error {
return s . Struct . SetText ( 5 , v )
}
func ( s RegistrationOptions ) IsAutoupdated ( ) bool {
return s . Struct . Bit ( 24 )
}
func ( s RegistrationOptions ) SetIsAutoupdated ( v bool ) {
s . Struct . SetBit ( 24 , v )
}
func ( s RegistrationOptions ) RunFromTerminal ( ) bool {
return s . Struct . Bit ( 25 )
}
func ( s RegistrationOptions ) SetRunFromTerminal ( v bool ) {
s . Struct . SetBit ( 25 , v )
}
func ( s RegistrationOptions ) CompressionQuality ( ) uint64 {
return s . Struct . Uint64 ( 8 )
}
func ( s RegistrationOptions ) SetCompressionQuality ( v uint64 ) {
s . Struct . SetUint64 ( 8 , v )
}
2018-10-08 19:20:28 +00:00
func ( s RegistrationOptions ) Uuid ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 6 )
return p . Text ( ) , err
}
func ( s RegistrationOptions ) HasUuid ( ) bool {
p , err := s . Struct . Ptr ( 6 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) UuidBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 6 )
return p . TextBytes ( ) , err
}
func ( s RegistrationOptions ) SetUuid ( v string ) error {
return s . Struct . SetText ( 6 , v )
}
2019-11-18 19:56:04 +00:00
func ( s RegistrationOptions ) NumPreviousAttempts ( ) uint8 {
return s . Struct . Uint8 ( 4 )
}
func ( s RegistrationOptions ) SetNumPreviousAttempts ( v uint8 ) {
s . Struct . SetUint8 ( 4 , v )
}
2020-02-25 23:45:48 +00:00
func ( s RegistrationOptions ) Features ( ) ( capnp . TextList , error ) {
p , err := s . Struct . Ptr ( 7 )
return capnp . TextList { List : p . List ( ) } , err
}
func ( s RegistrationOptions ) HasFeatures ( ) bool {
p , err := s . Struct . Ptr ( 7 )
return p . IsValid ( ) || err != nil
}
func ( s RegistrationOptions ) SetFeatures ( v capnp . TextList ) error {
return s . Struct . SetPtr ( 7 , v . List . ToPtr ( ) )
}
// NewFeatures sets the features field to a newly
// allocated capnp.TextList, preferring placement in s's segment.
func ( s RegistrationOptions ) NewFeatures ( n int32 ) ( capnp . TextList , error ) {
l , err := capnp . NewTextList ( s . Struct . Segment ( ) , n )
if err != nil {
return capnp . TextList { } , err
}
err = s . Struct . SetPtr ( 7 , l . List . ToPtr ( ) )
return l , err
}
2018-05-01 23:45:06 +00:00
// RegistrationOptions_List is a list of RegistrationOptions.
type RegistrationOptions_List struct { capnp . List }
// NewRegistrationOptions creates a new list of RegistrationOptions.
func NewRegistrationOptions_List ( s * capnp . Segment , sz int32 ) ( RegistrationOptions_List , error ) {
2020-02-25 23:45:48 +00:00
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 16 , PointerCount : 8 } , sz )
2018-05-01 23:45:06 +00:00
return RegistrationOptions_List { l } , err
}
func ( s RegistrationOptions_List ) At ( i int ) RegistrationOptions {
return RegistrationOptions { s . List . Struct ( i ) }
}
func ( s RegistrationOptions_List ) Set ( i int , v RegistrationOptions ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s RegistrationOptions_List ) String ( ) string {
str , _ := text . MarshalList ( 0xc793e50592935b4a , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// RegistrationOptions_Promise is a wrapper for a RegistrationOptions promised by a client call.
type RegistrationOptions_Promise struct { * capnp . Pipeline }
func ( p RegistrationOptions_Promise ) Struct ( ) ( RegistrationOptions , error ) {
s , err := p . Pipeline . Struct ( )
return RegistrationOptions { s } , err
}
type Tag struct { capnp . Struct }
// Tag_TypeID is the unique identifier for the type Tag.
const Tag_TypeID = 0xcbd96442ae3bb01a
func NewTag ( s * capnp . Segment ) ( Tag , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 2 } )
return Tag { st } , err
}
func NewRootTag ( s * capnp . Segment ) ( Tag , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 2 } )
return Tag { st } , err
}
func ReadRootTag ( msg * capnp . Message ) ( Tag , error ) {
root , err := msg . RootPtr ( )
return Tag { root . Struct ( ) } , err
}
func ( s Tag ) String ( ) string {
str , _ := text . Marshal ( 0xcbd96442ae3bb01a , s . Struct )
return str
}
func ( s Tag ) Name ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . Text ( ) , err
}
func ( s Tag ) HasName ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s Tag ) NameBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . TextBytes ( ) , err
}
func ( s Tag ) SetName ( v string ) error {
return s . Struct . SetText ( 0 , v )
}
func ( s Tag ) Value ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . Text ( ) , err
}
func ( s Tag ) HasValue ( ) bool {
p , err := s . Struct . Ptr ( 1 )
return p . IsValid ( ) || err != nil
}
func ( s Tag ) ValueBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . TextBytes ( ) , err
}
func ( s Tag ) SetValue ( v string ) error {
return s . Struct . SetText ( 1 , v )
}
// Tag_List is a list of Tag.
type Tag_List struct { capnp . List }
// NewTag creates a new list of Tag.
func NewTag_List ( s * capnp . Segment , sz int32 ) ( Tag_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 2 } , sz )
return Tag_List { l } , err
}
func ( s Tag_List ) At ( i int ) Tag { return Tag { s . List . Struct ( i ) } }
2019-03-18 23:14:47 +00:00
func ( s Tag_List ) Set ( i int , v Tag ) error { return s . List . SetStruct ( i , v . Struct ) }
2018-10-08 19:20:28 +00:00
2020-03-05 21:20:12 +00:00
func ( s Tag_List ) String ( ) string {
str , _ := text . MarshalList ( 0xcbd96442ae3bb01a , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// Tag_Promise is a wrapper for a Tag promised by a client call.
type Tag_Promise struct { * capnp . Pipeline }
func ( p Tag_Promise ) Struct ( ) ( Tag , error ) {
s , err := p . Pipeline . Struct ( )
return Tag { s } , err
}
type ExistingTunnelPolicy uint16
// ExistingTunnelPolicy_TypeID is the unique identifier for the type ExistingTunnelPolicy.
const ExistingTunnelPolicy_TypeID = 0x84cb9536a2cf6d3c
// Values of ExistingTunnelPolicy.
const (
ExistingTunnelPolicy_ignore ExistingTunnelPolicy = 0
ExistingTunnelPolicy_disconnect ExistingTunnelPolicy = 1
ExistingTunnelPolicy_balance ExistingTunnelPolicy = 2
)
// String returns the enum's constant name.
func ( c ExistingTunnelPolicy ) String ( ) string {
switch c {
case ExistingTunnelPolicy_ignore :
return "ignore"
case ExistingTunnelPolicy_disconnect :
return "disconnect"
case ExistingTunnelPolicy_balance :
return "balance"
default :
return ""
}
}
// ExistingTunnelPolicyFromString returns the enum value with a name,
// or the zero value if there's no such value.
func ExistingTunnelPolicyFromString ( c string ) ExistingTunnelPolicy {
switch c {
case "ignore" :
return ExistingTunnelPolicy_ignore
case "disconnect" :
return ExistingTunnelPolicy_disconnect
case "balance" :
return ExistingTunnelPolicy_balance
default :
return 0
}
}
type ExistingTunnelPolicy_List struct { capnp . List }
func NewExistingTunnelPolicy_List ( s * capnp . Segment , sz int32 ) ( ExistingTunnelPolicy_List , error ) {
l , err := capnp . NewUInt16List ( s , sz )
return ExistingTunnelPolicy_List { l . List } , err
}
func ( l ExistingTunnelPolicy_List ) At ( i int ) ExistingTunnelPolicy {
ul := capnp . UInt16List { List : l . List }
return ExistingTunnelPolicy ( ul . At ( i ) )
}
func ( l ExistingTunnelPolicy_List ) Set ( i int , v ExistingTunnelPolicy ) {
ul := capnp . UInt16List { List : l . List }
ul . Set ( i , uint16 ( v ) )
}
2020-05-29 11:12:04 +00:00
type ServerInfo struct { capnp . Struct }
2019-06-12 15:07:24 +00:00
2020-05-29 11:12:04 +00:00
// ServerInfo_TypeID is the unique identifier for the type ServerInfo.
const ServerInfo_TypeID = 0xf2c68e2547ec3866
2019-06-12 15:07:24 +00:00
2020-05-29 11:12:04 +00:00
func NewServerInfo ( s * capnp . Segment ) ( ServerInfo , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return ServerInfo { st } , err
2019-06-12 15:07:24 +00:00
}
2020-05-29 11:12:04 +00:00
func NewRootServerInfo ( s * capnp . Segment ) ( ServerInfo , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return ServerInfo { st } , err
2019-06-12 15:07:24 +00:00
}
2020-05-29 11:12:04 +00:00
func ReadRootServerInfo ( msg * capnp . Message ) ( ServerInfo , error ) {
root , err := msg . RootPtr ( )
return ServerInfo { root . Struct ( ) } , err
2019-06-12 15:07:24 +00:00
}
2020-05-29 11:12:04 +00:00
func ( s ServerInfo ) String ( ) string {
str , _ := text . Marshal ( 0xf2c68e2547ec3866 , s . Struct )
return str
2019-06-12 15:07:24 +00:00
}
2020-05-29 11:12:04 +00:00
func ( s ServerInfo ) LocationName ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 0 )
2019-06-12 15:07:24 +00:00
return p . Text ( ) , err
}
2020-05-29 11:12:04 +00:00
func ( s ServerInfo ) HasLocationName ( ) bool {
p , err := s . Struct . Ptr ( 0 )
2019-06-12 15:07:24 +00:00
return p . IsValid ( ) || err != nil
}
2020-05-29 11:12:04 +00:00
func ( s ServerInfo ) LocationNameBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
2019-06-12 15:07:24 +00:00
return p . TextBytes ( ) , err
}
2020-05-29 11:12:04 +00:00
func ( s ServerInfo ) SetLocationName ( v string ) error {
return s . Struct . SetText ( 0 , v )
2019-06-12 15:07:24 +00:00
}
2020-05-29 11:12:04 +00:00
// ServerInfo_List is a list of ServerInfo.
type ServerInfo_List struct { capnp . List }
2019-06-12 15:07:24 +00:00
2020-05-29 11:12:04 +00:00
// NewServerInfo creates a new list of ServerInfo.
func NewServerInfo_List ( s * capnp . Segment , sz int32 ) ( ServerInfo_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } , sz )
return ServerInfo_List { l } , err
2019-06-12 15:07:24 +00:00
}
2020-05-29 11:12:04 +00:00
func ( s ServerInfo_List ) At ( i int ) ServerInfo { return ServerInfo { s . List . Struct ( i ) } }
2019-06-12 15:07:24 +00:00
2020-05-29 11:12:04 +00:00
func ( s ServerInfo_List ) Set ( i int , v ServerInfo ) error { return s . List . SetStruct ( i , v . Struct ) }
2019-06-12 15:07:24 +00:00
2020-05-29 11:12:04 +00:00
func ( s ServerInfo_List ) String ( ) string {
str , _ := text . MarshalList ( 0xf2c68e2547ec3866 , s . List )
2020-03-05 21:20:12 +00:00
return str
}
2020-05-29 11:12:04 +00:00
// ServerInfo_Promise is a wrapper for a ServerInfo promised by a client call.
type ServerInfo_Promise struct { * capnp . Pipeline }
2019-06-12 15:07:24 +00:00
2020-05-29 11:12:04 +00:00
func ( p ServerInfo_Promise ) Struct ( ) ( ServerInfo , error ) {
2019-06-12 15:07:24 +00:00
s , err := p . Pipeline . Struct ( )
2020-05-29 11:12:04 +00:00
return ServerInfo { s } , err
2019-06-12 15:07:24 +00:00
}
2019-11-18 16:28:18 +00:00
type AuthenticateResponse struct { capnp . Struct }
// AuthenticateResponse_TypeID is the unique identifier for the type AuthenticateResponse.
const AuthenticateResponse_TypeID = 0x82c325a07ad22a65
func NewAuthenticateResponse ( s * capnp . Segment ) ( AuthenticateResponse , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 3 } )
return AuthenticateResponse { st } , err
}
func NewRootAuthenticateResponse ( s * capnp . Segment ) ( AuthenticateResponse , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 3 } )
return AuthenticateResponse { st } , err
}
func ReadRootAuthenticateResponse ( msg * capnp . Message ) ( AuthenticateResponse , error ) {
root , err := msg . RootPtr ( )
return AuthenticateResponse { root . Struct ( ) } , err
}
func ( s AuthenticateResponse ) String ( ) string {
str , _ := text . Marshal ( 0x82c325a07ad22a65 , s . Struct )
return str
}
func ( s AuthenticateResponse ) PermanentErr ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . Text ( ) , err
}
func ( s AuthenticateResponse ) HasPermanentErr ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s AuthenticateResponse ) PermanentErrBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return p . TextBytes ( ) , err
}
func ( s AuthenticateResponse ) SetPermanentErr ( v string ) error {
return s . Struct . SetText ( 0 , v )
}
func ( s AuthenticateResponse ) RetryableErr ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . Text ( ) , err
}
func ( s AuthenticateResponse ) HasRetryableErr ( ) bool {
p , err := s . Struct . Ptr ( 1 )
return p . IsValid ( ) || err != nil
}
func ( s AuthenticateResponse ) RetryableErrBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . TextBytes ( ) , err
}
func ( s AuthenticateResponse ) SetRetryableErr ( v string ) error {
return s . Struct . SetText ( 1 , v )
}
func ( s AuthenticateResponse ) Jwt ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 2 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s AuthenticateResponse ) HasJwt ( ) bool {
p , err := s . Struct . Ptr ( 2 )
return p . IsValid ( ) || err != nil
}
func ( s AuthenticateResponse ) SetJwt ( v [ ] byte ) error {
return s . Struct . SetData ( 2 , v )
}
func ( s AuthenticateResponse ) HoursUntilRefresh ( ) uint8 {
return s . Struct . Uint8 ( 0 )
}
func ( s AuthenticateResponse ) SetHoursUntilRefresh ( v uint8 ) {
s . Struct . SetUint8 ( 0 , v )
}
// AuthenticateResponse_List is a list of AuthenticateResponse.
type AuthenticateResponse_List struct { capnp . List }
// NewAuthenticateResponse creates a new list of AuthenticateResponse.
func NewAuthenticateResponse_List ( s * capnp . Segment , sz int32 ) ( AuthenticateResponse_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 3 } , sz )
return AuthenticateResponse_List { l } , err
}
func ( s AuthenticateResponse_List ) At ( i int ) AuthenticateResponse {
return AuthenticateResponse { s . List . Struct ( i ) }
}
func ( s AuthenticateResponse_List ) Set ( i int , v AuthenticateResponse ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s AuthenticateResponse_List ) String ( ) string {
str , _ := text . MarshalList ( 0x82c325a07ad22a65 , s . List )
return str
}
2019-11-18 16:28:18 +00:00
// AuthenticateResponse_Promise is a wrapper for a AuthenticateResponse promised by a client call.
type AuthenticateResponse_Promise struct { * capnp . Pipeline }
func ( p AuthenticateResponse_Promise ) Struct ( ) ( AuthenticateResponse , error ) {
s , err := p . Pipeline . Struct ( )
return AuthenticateResponse { s } , err
}
2018-05-01 23:45:06 +00:00
type TunnelServer struct { Client capnp . Client }
// TunnelServer_TypeID is the unique identifier for the type TunnelServer.
const TunnelServer_TypeID = 0xea58385c65416035
func ( c TunnelServer ) RegisterTunnel ( ctx context . Context , params func ( TunnelServer_registerTunnel_Params ) error , opts ... capnp . CallOption ) TunnelServer_registerTunnel_Results_Promise {
if c . Client == nil {
return TunnelServer_registerTunnel_Results_Promise { Pipeline : capnp . NewPipeline ( capnp . ErrorAnswer ( capnp . ErrNullClient ) ) }
}
call := & capnp . Call {
Ctx : ctx ,
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 0 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2018-05-01 23:45:06 +00:00
MethodName : "registerTunnel" ,
} ,
Options : capnp . NewCallOptions ( opts ) ,
}
if params != nil {
call . ParamsSize = capnp . ObjectSize { DataSize : 0 , PointerCount : 3 }
call . ParamsFunc = func ( s capnp . Struct ) error { return params ( TunnelServer_registerTunnel_Params { Struct : s } ) }
}
return TunnelServer_registerTunnel_Results_Promise { Pipeline : capnp . NewPipeline ( c . Client . Call ( call ) ) }
}
func ( c TunnelServer ) GetServerInfo ( ctx context . Context , params func ( TunnelServer_getServerInfo_Params ) error , opts ... capnp . CallOption ) TunnelServer_getServerInfo_Results_Promise {
if c . Client == nil {
return TunnelServer_getServerInfo_Results_Promise { Pipeline : capnp . NewPipeline ( capnp . ErrorAnswer ( capnp . ErrNullClient ) ) }
}
call := & capnp . Call {
Ctx : ctx ,
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 1 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2018-05-01 23:45:06 +00:00
MethodName : "getServerInfo" ,
} ,
Options : capnp . NewCallOptions ( opts ) ,
}
if params != nil {
call . ParamsSize = capnp . ObjectSize { DataSize : 0 , PointerCount : 0 }
call . ParamsFunc = func ( s capnp . Struct ) error { return params ( TunnelServer_getServerInfo_Params { Struct : s } ) }
}
return TunnelServer_getServerInfo_Results_Promise { Pipeline : capnp . NewPipeline ( c . Client . Call ( call ) ) }
}
func ( c TunnelServer ) UnregisterTunnel ( ctx context . Context , params func ( TunnelServer_unregisterTunnel_Params ) error , opts ... capnp . CallOption ) TunnelServer_unregisterTunnel_Results_Promise {
if c . Client == nil {
return TunnelServer_unregisterTunnel_Results_Promise { Pipeline : capnp . NewPipeline ( capnp . ErrorAnswer ( capnp . ErrNullClient ) ) }
}
call := & capnp . Call {
Ctx : ctx ,
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 2 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2018-05-01 23:45:06 +00:00
MethodName : "unregisterTunnel" ,
} ,
Options : capnp . NewCallOptions ( opts ) ,
}
if params != nil {
call . ParamsSize = capnp . ObjectSize { DataSize : 8 , PointerCount : 0 }
call . ParamsFunc = func ( s capnp . Struct ) error { return params ( TunnelServer_unregisterTunnel_Params { Struct : s } ) }
}
return TunnelServer_unregisterTunnel_Results_Promise { Pipeline : capnp . NewPipeline ( c . Client . Call ( call ) ) }
}
2020-05-29 09:21:03 +00:00
func ( c TunnelServer ) ObsoleteDeclarativeTunnelConnect ( ctx context . Context , params func ( TunnelServer_obsoleteDeclarativeTunnelConnect_Params ) error , opts ... capnp . CallOption ) TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise {
2019-03-18 23:14:47 +00:00
if c . Client == nil {
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise { Pipeline : capnp . NewPipeline ( capnp . ErrorAnswer ( capnp . ErrNullClient ) ) }
2019-03-18 23:14:47 +00:00
}
call := & capnp . Call {
Ctx : ctx ,
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
2019-04-01 18:50:30 +00:00
MethodID : 3 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2020-05-29 09:21:03 +00:00
MethodName : "obsoleteDeclarativeTunnelConnect" ,
2019-03-18 23:14:47 +00:00
} ,
Options : capnp . NewCallOptions ( opts ) ,
}
if params != nil {
2020-05-29 11:12:04 +00:00
call . ParamsSize = capnp . ObjectSize { DataSize : 0 , PointerCount : 0 }
2020-05-29 09:21:03 +00:00
call . ParamsFunc = func ( s capnp . Struct ) error {
return params ( TunnelServer_obsoleteDeclarativeTunnelConnect_Params { Struct : s } )
}
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise { Pipeline : capnp . NewPipeline ( c . Client . Call ( call ) ) }
2019-03-18 23:14:47 +00:00
}
2019-11-18 16:28:18 +00:00
func ( c TunnelServer ) Authenticate ( ctx context . Context , params func ( TunnelServer_authenticate_Params ) error , opts ... capnp . CallOption ) TunnelServer_authenticate_Results_Promise {
if c . Client == nil {
return TunnelServer_authenticate_Results_Promise { Pipeline : capnp . NewPipeline ( capnp . ErrorAnswer ( capnp . ErrNullClient ) ) }
}
call := & capnp . Call {
Ctx : ctx ,
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 4 ,
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
MethodName : "authenticate" ,
} ,
Options : capnp . NewCallOptions ( opts ) ,
}
if params != nil {
call . ParamsSize = capnp . ObjectSize { DataSize : 0 , PointerCount : 3 }
call . ParamsFunc = func ( s capnp . Struct ) error { return params ( TunnelServer_authenticate_Params { Struct : s } ) }
}
return TunnelServer_authenticate_Results_Promise { Pipeline : capnp . NewPipeline ( c . Client . Call ( call ) ) }
}
2019-11-18 19:56:04 +00:00
func ( c TunnelServer ) ReconnectTunnel ( ctx context . Context , params func ( TunnelServer_reconnectTunnel_Params ) error , opts ... capnp . CallOption ) TunnelServer_reconnectTunnel_Results_Promise {
if c . Client == nil {
return TunnelServer_reconnectTunnel_Results_Promise { Pipeline : capnp . NewPipeline ( capnp . ErrorAnswer ( capnp . ErrNullClient ) ) }
}
call := & capnp . Call {
Ctx : ctx ,
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 5 ,
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
MethodName : "reconnectTunnel" ,
} ,
Options : capnp . NewCallOptions ( opts ) ,
}
if params != nil {
2020-03-06 20:48:16 +00:00
call . ParamsSize = capnp . ObjectSize { DataSize : 0 , PointerCount : 5 }
2019-11-18 19:56:04 +00:00
call . ParamsFunc = func ( s capnp . Struct ) error { return params ( TunnelServer_reconnectTunnel_Params { Struct : s } ) }
}
return TunnelServer_reconnectTunnel_Results_Promise { Pipeline : capnp . NewPipeline ( c . Client . Call ( call ) ) }
}
2018-05-01 23:45:06 +00:00
type TunnelServer_Server interface {
RegisterTunnel ( TunnelServer_registerTunnel ) error
GetServerInfo ( TunnelServer_getServerInfo ) error
UnregisterTunnel ( TunnelServer_unregisterTunnel ) error
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
ObsoleteDeclarativeTunnelConnect ( TunnelServer_obsoleteDeclarativeTunnelConnect ) error
2019-11-18 16:28:18 +00:00
Authenticate ( TunnelServer_authenticate ) error
2019-11-18 19:56:04 +00:00
ReconnectTunnel ( TunnelServer_reconnectTunnel ) error
2018-05-01 23:45:06 +00:00
}
func TunnelServer_ServerToClient ( s TunnelServer_Server ) TunnelServer {
c , _ := s . ( server . Closer )
return TunnelServer { Client : server . New ( TunnelServer_Methods ( nil , s ) , c ) }
}
func TunnelServer_Methods ( methods [ ] server . Method , s TunnelServer_Server ) [ ] server . Method {
if cap ( methods ) == 0 {
2019-11-18 19:56:04 +00:00
methods = make ( [ ] server . Method , 0 , 6 )
2018-05-01 23:45:06 +00:00
}
methods = append ( methods , server . Method {
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 0 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2018-05-01 23:45:06 +00:00
MethodName : "registerTunnel" ,
} ,
Impl : func ( c context . Context , opts capnp . CallOptions , p , r capnp . Struct ) error {
call := TunnelServer_registerTunnel { c , opts , TunnelServer_registerTunnel_Params { Struct : p } , TunnelServer_registerTunnel_Results { Struct : r } }
return s . RegisterTunnel ( call )
} ,
ResultsSize : capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } ,
} )
methods = append ( methods , server . Method {
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 1 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2018-05-01 23:45:06 +00:00
MethodName : "getServerInfo" ,
} ,
Impl : func ( c context . Context , opts capnp . CallOptions , p , r capnp . Struct ) error {
call := TunnelServer_getServerInfo { c , opts , TunnelServer_getServerInfo_Params { Struct : p } , TunnelServer_getServerInfo_Results { Struct : r } }
return s . GetServerInfo ( call )
} ,
ResultsSize : capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } ,
} )
methods = append ( methods , server . Method {
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 2 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2018-05-01 23:45:06 +00:00
MethodName : "unregisterTunnel" ,
} ,
Impl : func ( c context . Context , opts capnp . CallOptions , p , r capnp . Struct ) error {
call := TunnelServer_unregisterTunnel { c , opts , TunnelServer_unregisterTunnel_Params { Struct : p } , TunnelServer_unregisterTunnel_Results { Struct : r } }
return s . UnregisterTunnel ( call )
} ,
ResultsSize : capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } ,
} )
2019-03-18 23:14:47 +00:00
methods = append ( methods , server . Method {
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 3 ,
2019-05-03 21:43:45 +00:00
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
2020-05-29 09:21:03 +00:00
MethodName : "obsoleteDeclarativeTunnelConnect" ,
2019-03-18 23:14:47 +00:00
} ,
Impl : func ( c context . Context , opts capnp . CallOptions , p , r capnp . Struct ) error {
2020-05-29 09:21:03 +00:00
call := TunnelServer_obsoleteDeclarativeTunnelConnect { c , opts , TunnelServer_obsoleteDeclarativeTunnelConnect_Params { Struct : p } , TunnelServer_obsoleteDeclarativeTunnelConnect_Results { Struct : r } }
return s . ObsoleteDeclarativeTunnelConnect ( call )
2019-03-18 23:14:47 +00:00
} ,
2020-05-29 11:12:04 +00:00
ResultsSize : capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } ,
2019-03-18 23:14:47 +00:00
} )
2019-11-18 16:28:18 +00:00
methods = append ( methods , server . Method {
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 4 ,
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
MethodName : "authenticate" ,
} ,
Impl : func ( c context . Context , opts capnp . CallOptions , p , r capnp . Struct ) error {
call := TunnelServer_authenticate { c , opts , TunnelServer_authenticate_Params { Struct : p } , TunnelServer_authenticate_Results { Struct : r } }
return s . Authenticate ( call )
} ,
ResultsSize : capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } ,
} )
2019-11-18 19:56:04 +00:00
methods = append ( methods , server . Method {
Method : capnp . Method {
InterfaceID : 0xea58385c65416035 ,
MethodID : 5 ,
InterfaceName : "tunnelrpc/tunnelrpc.capnp:TunnelServer" ,
MethodName : "reconnectTunnel" ,
} ,
Impl : func ( c context . Context , opts capnp . CallOptions , p , r capnp . Struct ) error {
call := TunnelServer_reconnectTunnel { c , opts , TunnelServer_reconnectTunnel_Params { Struct : p } , TunnelServer_reconnectTunnel_Results { Struct : r } }
return s . ReconnectTunnel ( call )
} ,
ResultsSize : capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } ,
} )
2018-05-01 23:45:06 +00:00
return methods
}
// TunnelServer_registerTunnel holds the arguments for a server call to TunnelServer.registerTunnel.
type TunnelServer_registerTunnel struct {
Ctx context . Context
Options capnp . CallOptions
Params TunnelServer_registerTunnel_Params
Results TunnelServer_registerTunnel_Results
}
// TunnelServer_getServerInfo holds the arguments for a server call to TunnelServer.getServerInfo.
type TunnelServer_getServerInfo struct {
Ctx context . Context
Options capnp . CallOptions
Params TunnelServer_getServerInfo_Params
Results TunnelServer_getServerInfo_Results
}
// TunnelServer_unregisterTunnel holds the arguments for a server call to TunnelServer.unregisterTunnel.
type TunnelServer_unregisterTunnel struct {
Ctx context . Context
Options capnp . CallOptions
Params TunnelServer_unregisterTunnel_Params
Results TunnelServer_unregisterTunnel_Results
}
2020-05-29 09:21:03 +00:00
// TunnelServer_obsoleteDeclarativeTunnelConnect holds the arguments for a server call to TunnelServer.obsoleteDeclarativeTunnelConnect.
type TunnelServer_obsoleteDeclarativeTunnelConnect struct {
2019-03-18 23:14:47 +00:00
Ctx context . Context
Options capnp . CallOptions
2020-05-29 09:21:03 +00:00
Params TunnelServer_obsoleteDeclarativeTunnelConnect_Params
Results TunnelServer_obsoleteDeclarativeTunnelConnect_Results
2019-03-18 23:14:47 +00:00
}
2019-11-18 16:28:18 +00:00
// TunnelServer_authenticate holds the arguments for a server call to TunnelServer.authenticate.
type TunnelServer_authenticate struct {
Ctx context . Context
Options capnp . CallOptions
Params TunnelServer_authenticate_Params
Results TunnelServer_authenticate_Results
}
2019-11-18 19:56:04 +00:00
// TunnelServer_reconnectTunnel holds the arguments for a server call to TunnelServer.reconnectTunnel.
type TunnelServer_reconnectTunnel struct {
Ctx context . Context
Options capnp . CallOptions
Params TunnelServer_reconnectTunnel_Params
Results TunnelServer_reconnectTunnel_Results
}
2018-05-01 23:45:06 +00:00
type TunnelServer_registerTunnel_Params struct { capnp . Struct }
// TunnelServer_registerTunnel_Params_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Params.
const TunnelServer_registerTunnel_Params_TypeID = 0xb70431c0dc014915
func NewTunnelServer_registerTunnel_Params ( s * capnp . Segment ) ( TunnelServer_registerTunnel_Params , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } )
return TunnelServer_registerTunnel_Params { st } , err
}
func NewRootTunnelServer_registerTunnel_Params ( s * capnp . Segment ) ( TunnelServer_registerTunnel_Params , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } )
return TunnelServer_registerTunnel_Params { st } , err
}
func ReadRootTunnelServer_registerTunnel_Params ( msg * capnp . Message ) ( TunnelServer_registerTunnel_Params , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_registerTunnel_Params { root . Struct ( ) } , err
}
func ( s TunnelServer_registerTunnel_Params ) String ( ) string {
str , _ := text . Marshal ( 0xb70431c0dc014915 , s . Struct )
return str
}
func ( s TunnelServer_registerTunnel_Params ) OriginCert ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s TunnelServer_registerTunnel_Params ) HasOriginCert ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_registerTunnel_Params ) SetOriginCert ( v [ ] byte ) error {
return s . Struct . SetData ( 0 , v )
}
func ( s TunnelServer_registerTunnel_Params ) Hostname ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . Text ( ) , err
}
func ( s TunnelServer_registerTunnel_Params ) HasHostname ( ) bool {
p , err := s . Struct . Ptr ( 1 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_registerTunnel_Params ) HostnameBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . TextBytes ( ) , err
}
func ( s TunnelServer_registerTunnel_Params ) SetHostname ( v string ) error {
return s . Struct . SetText ( 1 , v )
}
func ( s TunnelServer_registerTunnel_Params ) Options ( ) ( RegistrationOptions , error ) {
p , err := s . Struct . Ptr ( 2 )
return RegistrationOptions { Struct : p . Struct ( ) } , err
}
func ( s TunnelServer_registerTunnel_Params ) HasOptions ( ) bool {
p , err := s . Struct . Ptr ( 2 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_registerTunnel_Params ) SetOptions ( v RegistrationOptions ) error {
return s . Struct . SetPtr ( 2 , v . Struct . ToPtr ( ) )
}
// NewOptions sets the options field to a newly
// allocated RegistrationOptions struct, preferring placement in s's segment.
func ( s TunnelServer_registerTunnel_Params ) NewOptions ( ) ( RegistrationOptions , error ) {
ss , err := NewRegistrationOptions ( s . Struct . Segment ( ) )
if err != nil {
return RegistrationOptions { } , err
}
err = s . Struct . SetPtr ( 2 , ss . Struct . ToPtr ( ) )
return ss , err
}
// TunnelServer_registerTunnel_Params_List is a list of TunnelServer_registerTunnel_Params.
type TunnelServer_registerTunnel_Params_List struct { capnp . List }
// NewTunnelServer_registerTunnel_Params creates a new list of TunnelServer_registerTunnel_Params.
func NewTunnelServer_registerTunnel_Params_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_registerTunnel_Params_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } , sz )
return TunnelServer_registerTunnel_Params_List { l } , err
}
func ( s TunnelServer_registerTunnel_Params_List ) At ( i int ) TunnelServer_registerTunnel_Params {
return TunnelServer_registerTunnel_Params { s . List . Struct ( i ) }
}
func ( s TunnelServer_registerTunnel_Params_List ) Set ( i int , v TunnelServer_registerTunnel_Params ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_registerTunnel_Params_List ) String ( ) string {
str , _ := text . MarshalList ( 0xb70431c0dc014915 , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// TunnelServer_registerTunnel_Params_Promise is a wrapper for a TunnelServer_registerTunnel_Params promised by a client call.
type TunnelServer_registerTunnel_Params_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_registerTunnel_Params_Promise ) Struct ( ) ( TunnelServer_registerTunnel_Params , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_registerTunnel_Params { s } , err
}
func ( p TunnelServer_registerTunnel_Params_Promise ) Options ( ) RegistrationOptions_Promise {
return RegistrationOptions_Promise { Pipeline : p . Pipeline . GetPipeline ( 2 ) }
}
type TunnelServer_registerTunnel_Results struct { capnp . Struct }
// TunnelServer_registerTunnel_Results_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Results.
const TunnelServer_registerTunnel_Results_TypeID = 0xf2c122394f447e8e
func NewTunnelServer_registerTunnel_Results ( s * capnp . Segment ) ( TunnelServer_registerTunnel_Results , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_registerTunnel_Results { st } , err
}
func NewRootTunnelServer_registerTunnel_Results ( s * capnp . Segment ) ( TunnelServer_registerTunnel_Results , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_registerTunnel_Results { st } , err
}
func ReadRootTunnelServer_registerTunnel_Results ( msg * capnp . Message ) ( TunnelServer_registerTunnel_Results , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_registerTunnel_Results { root . Struct ( ) } , err
}
func ( s TunnelServer_registerTunnel_Results ) String ( ) string {
str , _ := text . Marshal ( 0xf2c122394f447e8e , s . Struct )
return str
}
func ( s TunnelServer_registerTunnel_Results ) Result ( ) ( TunnelRegistration , error ) {
p , err := s . Struct . Ptr ( 0 )
return TunnelRegistration { Struct : p . Struct ( ) } , err
}
func ( s TunnelServer_registerTunnel_Results ) HasResult ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_registerTunnel_Results ) SetResult ( v TunnelRegistration ) error {
return s . Struct . SetPtr ( 0 , v . Struct . ToPtr ( ) )
}
// NewResult sets the result field to a newly
// allocated TunnelRegistration struct, preferring placement in s's segment.
func ( s TunnelServer_registerTunnel_Results ) NewResult ( ) ( TunnelRegistration , error ) {
ss , err := NewTunnelRegistration ( s . Struct . Segment ( ) )
if err != nil {
return TunnelRegistration { } , err
}
err = s . Struct . SetPtr ( 0 , ss . Struct . ToPtr ( ) )
return ss , err
}
// TunnelServer_registerTunnel_Results_List is a list of TunnelServer_registerTunnel_Results.
type TunnelServer_registerTunnel_Results_List struct { capnp . List }
// NewTunnelServer_registerTunnel_Results creates a new list of TunnelServer_registerTunnel_Results.
func NewTunnelServer_registerTunnel_Results_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_registerTunnel_Results_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } , sz )
return TunnelServer_registerTunnel_Results_List { l } , err
}
func ( s TunnelServer_registerTunnel_Results_List ) At ( i int ) TunnelServer_registerTunnel_Results {
return TunnelServer_registerTunnel_Results { s . List . Struct ( i ) }
}
func ( s TunnelServer_registerTunnel_Results_List ) Set ( i int , v TunnelServer_registerTunnel_Results ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_registerTunnel_Results_List ) String ( ) string {
str , _ := text . MarshalList ( 0xf2c122394f447e8e , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// TunnelServer_registerTunnel_Results_Promise is a wrapper for a TunnelServer_registerTunnel_Results promised by a client call.
type TunnelServer_registerTunnel_Results_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_registerTunnel_Results_Promise ) Struct ( ) ( TunnelServer_registerTunnel_Results , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_registerTunnel_Results { s } , err
}
func ( p TunnelServer_registerTunnel_Results_Promise ) Result ( ) TunnelRegistration_Promise {
return TunnelRegistration_Promise { Pipeline : p . Pipeline . GetPipeline ( 0 ) }
}
type TunnelServer_getServerInfo_Params struct { capnp . Struct }
// TunnelServer_getServerInfo_Params_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Params.
const TunnelServer_getServerInfo_Params_TypeID = 0xdc3ed6801961e502
func NewTunnelServer_getServerInfo_Params ( s * capnp . Segment ) ( TunnelServer_getServerInfo_Params , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
return TunnelServer_getServerInfo_Params { st } , err
}
func NewRootTunnelServer_getServerInfo_Params ( s * capnp . Segment ) ( TunnelServer_getServerInfo_Params , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
return TunnelServer_getServerInfo_Params { st } , err
}
func ReadRootTunnelServer_getServerInfo_Params ( msg * capnp . Message ) ( TunnelServer_getServerInfo_Params , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_getServerInfo_Params { root . Struct ( ) } , err
}
func ( s TunnelServer_getServerInfo_Params ) String ( ) string {
str , _ := text . Marshal ( 0xdc3ed6801961e502 , s . Struct )
return str
}
// TunnelServer_getServerInfo_Params_List is a list of TunnelServer_getServerInfo_Params.
type TunnelServer_getServerInfo_Params_List struct { capnp . List }
// NewTunnelServer_getServerInfo_Params creates a new list of TunnelServer_getServerInfo_Params.
func NewTunnelServer_getServerInfo_Params_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_getServerInfo_Params_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } , sz )
return TunnelServer_getServerInfo_Params_List { l } , err
}
func ( s TunnelServer_getServerInfo_Params_List ) At ( i int ) TunnelServer_getServerInfo_Params {
return TunnelServer_getServerInfo_Params { s . List . Struct ( i ) }
}
func ( s TunnelServer_getServerInfo_Params_List ) Set ( i int , v TunnelServer_getServerInfo_Params ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_getServerInfo_Params_List ) String ( ) string {
str , _ := text . MarshalList ( 0xdc3ed6801961e502 , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// TunnelServer_getServerInfo_Params_Promise is a wrapper for a TunnelServer_getServerInfo_Params promised by a client call.
type TunnelServer_getServerInfo_Params_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_getServerInfo_Params_Promise ) Struct ( ) ( TunnelServer_getServerInfo_Params , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_getServerInfo_Params { s } , err
}
type TunnelServer_getServerInfo_Results struct { capnp . Struct }
// TunnelServer_getServerInfo_Results_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Results.
const TunnelServer_getServerInfo_Results_TypeID = 0xe3e37d096a5b564e
func NewTunnelServer_getServerInfo_Results ( s * capnp . Segment ) ( TunnelServer_getServerInfo_Results , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_getServerInfo_Results { st } , err
}
func NewRootTunnelServer_getServerInfo_Results ( s * capnp . Segment ) ( TunnelServer_getServerInfo_Results , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_getServerInfo_Results { st } , err
}
func ReadRootTunnelServer_getServerInfo_Results ( msg * capnp . Message ) ( TunnelServer_getServerInfo_Results , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_getServerInfo_Results { root . Struct ( ) } , err
}
func ( s TunnelServer_getServerInfo_Results ) String ( ) string {
str , _ := text . Marshal ( 0xe3e37d096a5b564e , s . Struct )
return str
}
func ( s TunnelServer_getServerInfo_Results ) Result ( ) ( ServerInfo , error ) {
p , err := s . Struct . Ptr ( 0 )
return ServerInfo { Struct : p . Struct ( ) } , err
}
func ( s TunnelServer_getServerInfo_Results ) HasResult ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_getServerInfo_Results ) SetResult ( v ServerInfo ) error {
return s . Struct . SetPtr ( 0 , v . Struct . ToPtr ( ) )
}
// NewResult sets the result field to a newly
// allocated ServerInfo struct, preferring placement in s's segment.
func ( s TunnelServer_getServerInfo_Results ) NewResult ( ) ( ServerInfo , error ) {
ss , err := NewServerInfo ( s . Struct . Segment ( ) )
if err != nil {
return ServerInfo { } , err
}
err = s . Struct . SetPtr ( 0 , ss . Struct . ToPtr ( ) )
return ss , err
}
// TunnelServer_getServerInfo_Results_List is a list of TunnelServer_getServerInfo_Results.
type TunnelServer_getServerInfo_Results_List struct { capnp . List }
// NewTunnelServer_getServerInfo_Results creates a new list of TunnelServer_getServerInfo_Results.
func NewTunnelServer_getServerInfo_Results_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_getServerInfo_Results_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } , sz )
return TunnelServer_getServerInfo_Results_List { l } , err
}
func ( s TunnelServer_getServerInfo_Results_List ) At ( i int ) TunnelServer_getServerInfo_Results {
return TunnelServer_getServerInfo_Results { s . List . Struct ( i ) }
}
func ( s TunnelServer_getServerInfo_Results_List ) Set ( i int , v TunnelServer_getServerInfo_Results ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_getServerInfo_Results_List ) String ( ) string {
str , _ := text . MarshalList ( 0xe3e37d096a5b564e , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// TunnelServer_getServerInfo_Results_Promise is a wrapper for a TunnelServer_getServerInfo_Results promised by a client call.
type TunnelServer_getServerInfo_Results_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_getServerInfo_Results_Promise ) Struct ( ) ( TunnelServer_getServerInfo_Results , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_getServerInfo_Results { s } , err
}
func ( p TunnelServer_getServerInfo_Results_Promise ) Result ( ) ServerInfo_Promise {
return ServerInfo_Promise { Pipeline : p . Pipeline . GetPipeline ( 0 ) }
}
type TunnelServer_unregisterTunnel_Params struct { capnp . Struct }
// TunnelServer_unregisterTunnel_Params_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Params.
const TunnelServer_unregisterTunnel_Params_TypeID = 0x9b87b390babc2ccf
func NewTunnelServer_unregisterTunnel_Params ( s * capnp . Segment ) ( TunnelServer_unregisterTunnel_Params , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 0 } )
return TunnelServer_unregisterTunnel_Params { st } , err
}
func NewRootTunnelServer_unregisterTunnel_Params ( s * capnp . Segment ) ( TunnelServer_unregisterTunnel_Params , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 0 } )
return TunnelServer_unregisterTunnel_Params { st } , err
}
func ReadRootTunnelServer_unregisterTunnel_Params ( msg * capnp . Message ) ( TunnelServer_unregisterTunnel_Params , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_unregisterTunnel_Params { root . Struct ( ) } , err
}
func ( s TunnelServer_unregisterTunnel_Params ) String ( ) string {
str , _ := text . Marshal ( 0x9b87b390babc2ccf , s . Struct )
return str
}
func ( s TunnelServer_unregisterTunnel_Params ) GracePeriodNanoSec ( ) int64 {
return int64 ( s . Struct . Uint64 ( 0 ) )
}
func ( s TunnelServer_unregisterTunnel_Params ) SetGracePeriodNanoSec ( v int64 ) {
s . Struct . SetUint64 ( 0 , uint64 ( v ) )
}
// TunnelServer_unregisterTunnel_Params_List is a list of TunnelServer_unregisterTunnel_Params.
type TunnelServer_unregisterTunnel_Params_List struct { capnp . List }
// NewTunnelServer_unregisterTunnel_Params creates a new list of TunnelServer_unregisterTunnel_Params.
func NewTunnelServer_unregisterTunnel_Params_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_unregisterTunnel_Params_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 8 , PointerCount : 0 } , sz )
return TunnelServer_unregisterTunnel_Params_List { l } , err
}
func ( s TunnelServer_unregisterTunnel_Params_List ) At ( i int ) TunnelServer_unregisterTunnel_Params {
return TunnelServer_unregisterTunnel_Params { s . List . Struct ( i ) }
}
func ( s TunnelServer_unregisterTunnel_Params_List ) Set ( i int , v TunnelServer_unregisterTunnel_Params ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_unregisterTunnel_Params_List ) String ( ) string {
str , _ := text . MarshalList ( 0x9b87b390babc2ccf , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// TunnelServer_unregisterTunnel_Params_Promise is a wrapper for a TunnelServer_unregisterTunnel_Params promised by a client call.
type TunnelServer_unregisterTunnel_Params_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_unregisterTunnel_Params_Promise ) Struct ( ) ( TunnelServer_unregisterTunnel_Params , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_unregisterTunnel_Params { s } , err
}
type TunnelServer_unregisterTunnel_Results struct { capnp . Struct }
// TunnelServer_unregisterTunnel_Results_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Results.
const TunnelServer_unregisterTunnel_Results_TypeID = 0xa29a916d4ebdd894
func NewTunnelServer_unregisterTunnel_Results ( s * capnp . Segment ) ( TunnelServer_unregisterTunnel_Results , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
return TunnelServer_unregisterTunnel_Results { st } , err
}
func NewRootTunnelServer_unregisterTunnel_Results ( s * capnp . Segment ) ( TunnelServer_unregisterTunnel_Results , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
return TunnelServer_unregisterTunnel_Results { st } , err
}
func ReadRootTunnelServer_unregisterTunnel_Results ( msg * capnp . Message ) ( TunnelServer_unregisterTunnel_Results , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_unregisterTunnel_Results { root . Struct ( ) } , err
}
func ( s TunnelServer_unregisterTunnel_Results ) String ( ) string {
str , _ := text . Marshal ( 0xa29a916d4ebdd894 , s . Struct )
return str
}
// TunnelServer_unregisterTunnel_Results_List is a list of TunnelServer_unregisterTunnel_Results.
type TunnelServer_unregisterTunnel_Results_List struct { capnp . List }
// NewTunnelServer_unregisterTunnel_Results creates a new list of TunnelServer_unregisterTunnel_Results.
func NewTunnelServer_unregisterTunnel_Results_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_unregisterTunnel_Results_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } , sz )
return TunnelServer_unregisterTunnel_Results_List { l } , err
}
func ( s TunnelServer_unregisterTunnel_Results_List ) At ( i int ) TunnelServer_unregisterTunnel_Results {
return TunnelServer_unregisterTunnel_Results { s . List . Struct ( i ) }
}
func ( s TunnelServer_unregisterTunnel_Results_List ) Set ( i int , v TunnelServer_unregisterTunnel_Results ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_unregisterTunnel_Results_List ) String ( ) string {
str , _ := text . MarshalList ( 0xa29a916d4ebdd894 , s . List )
return str
}
2018-05-01 23:45:06 +00:00
// TunnelServer_unregisterTunnel_Results_Promise is a wrapper for a TunnelServer_unregisterTunnel_Results promised by a client call.
type TunnelServer_unregisterTunnel_Results_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_unregisterTunnel_Results_Promise ) Struct ( ) ( TunnelServer_unregisterTunnel_Results , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_unregisterTunnel_Results { s } , err
}
2020-05-29 09:21:03 +00:00
type TunnelServer_obsoleteDeclarativeTunnelConnect_Params struct { capnp . Struct }
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
// TunnelServer_obsoleteDeclarativeTunnelConnect_Params_TypeID is the unique identifier for the type TunnelServer_obsoleteDeclarativeTunnelConnect_Params.
const TunnelServer_obsoleteDeclarativeTunnelConnect_Params_TypeID = 0xa766b24d4fe5da35
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params ( s * capnp . Segment ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Params , error ) {
2020-05-29 11:12:04 +00:00
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Params { st } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params ( s * capnp . Segment ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Params , error ) {
2020-05-29 11:12:04 +00:00
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Params { st } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params ( msg * capnp . Message ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Params , error ) {
2019-03-18 23:14:47 +00:00
root , err := msg . RootPtr ( )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Params { root . Struct ( ) } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Params ) String ( ) string {
2019-04-01 18:50:30 +00:00
str , _ := text . Marshal ( 0xa766b24d4fe5da35 , s . Struct )
2019-03-18 23:14:47 +00:00
return str
}
2020-05-29 09:21:03 +00:00
// TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List is a list of TunnelServer_obsoleteDeclarativeTunnelConnect_Params.
type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List struct { capnp . List }
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
// NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params creates a new list of TunnelServer_obsoleteDeclarativeTunnelConnect_Params.
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List , error ) {
2020-05-29 11:12:04 +00:00
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } , sz )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List { l } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List ) At ( i int ) TunnelServer_obsoleteDeclarativeTunnelConnect_Params {
return TunnelServer_obsoleteDeclarativeTunnelConnect_Params { s . List . Struct ( i ) }
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List ) Set ( i int , v TunnelServer_obsoleteDeclarativeTunnelConnect_Params ) error {
2019-03-18 23:14:47 +00:00
return s . List . SetStruct ( i , v . Struct )
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List ) String ( ) string {
2020-03-05 21:20:12 +00:00
str , _ := text . MarshalList ( 0xa766b24d4fe5da35 , s . List )
return str
}
2020-05-29 09:21:03 +00:00
// TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise is a wrapper for a TunnelServer_obsoleteDeclarativeTunnelConnect_Params promised by a client call.
type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise struct { * capnp . Pipeline }
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
func ( p TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise ) Struct ( ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Params , error ) {
2019-03-18 23:14:47 +00:00
s , err := p . Pipeline . Struct ( )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Params { s } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
type TunnelServer_obsoleteDeclarativeTunnelConnect_Results struct { capnp . Struct }
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
// TunnelServer_obsoleteDeclarativeTunnelConnect_Results_TypeID is the unique identifier for the type TunnelServer_obsoleteDeclarativeTunnelConnect_Results.
const TunnelServer_obsoleteDeclarativeTunnelConnect_Results_TypeID = 0xfeac5c8f4899ef7c
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results ( s * capnp . Segment ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Results , error ) {
2020-05-29 11:12:04 +00:00
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results { st } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results ( s * capnp . Segment ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Results , error ) {
2020-05-29 11:12:04 +00:00
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results { st } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results ( msg * capnp . Message ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Results , error ) {
2019-03-18 23:14:47 +00:00
root , err := msg . RootPtr ( )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results { root . Struct ( ) } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Results ) String ( ) string {
2019-04-01 18:50:30 +00:00
str , _ := text . Marshal ( 0xfeac5c8f4899ef7c , s . Struct )
2019-03-18 23:14:47 +00:00
return str
}
2020-05-29 09:21:03 +00:00
// TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List is a list of TunnelServer_obsoleteDeclarativeTunnelConnect_Results.
type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List struct { capnp . List }
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
// NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results creates a new list of TunnelServer_obsoleteDeclarativeTunnelConnect_Results.
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List , error ) {
2020-05-29 11:12:04 +00:00
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 0 } , sz )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List { l } , err
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List ) At ( i int ) TunnelServer_obsoleteDeclarativeTunnelConnect_Results {
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results { s . List . Struct ( i ) }
2019-03-18 23:14:47 +00:00
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List ) Set ( i int , v TunnelServer_obsoleteDeclarativeTunnelConnect_Results ) error {
2019-03-18 23:14:47 +00:00
return s . List . SetStruct ( i , v . Struct )
}
2020-05-29 09:21:03 +00:00
func ( s TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List ) String ( ) string {
2020-03-05 21:20:12 +00:00
str , _ := text . MarshalList ( 0xfeac5c8f4899ef7c , s . List )
return str
}
2020-05-29 09:21:03 +00:00
// TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise is a wrapper for a TunnelServer_obsoleteDeclarativeTunnelConnect_Results promised by a client call.
type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise struct { * capnp . Pipeline }
2019-03-18 23:14:47 +00:00
2020-05-29 09:21:03 +00:00
func ( p TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise ) Struct ( ) ( TunnelServer_obsoleteDeclarativeTunnelConnect_Results , error ) {
2019-03-18 23:14:47 +00:00
s , err := p . Pipeline . Struct ( )
2020-05-29 09:21:03 +00:00
return TunnelServer_obsoleteDeclarativeTunnelConnect_Results { s } , err
2019-03-18 23:14:47 +00:00
}
2019-11-18 16:28:18 +00:00
type TunnelServer_authenticate_Params struct { capnp . Struct }
// TunnelServer_authenticate_Params_TypeID is the unique identifier for the type TunnelServer_authenticate_Params.
const TunnelServer_authenticate_Params_TypeID = 0x85c8cea1ab1894f3
func NewTunnelServer_authenticate_Params ( s * capnp . Segment ) ( TunnelServer_authenticate_Params , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } )
return TunnelServer_authenticate_Params { st } , err
}
func NewRootTunnelServer_authenticate_Params ( s * capnp . Segment ) ( TunnelServer_authenticate_Params , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } )
return TunnelServer_authenticate_Params { st } , err
}
func ReadRootTunnelServer_authenticate_Params ( msg * capnp . Message ) ( TunnelServer_authenticate_Params , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_authenticate_Params { root . Struct ( ) } , err
}
func ( s TunnelServer_authenticate_Params ) String ( ) string {
str , _ := text . Marshal ( 0x85c8cea1ab1894f3 , s . Struct )
return str
}
func ( s TunnelServer_authenticate_Params ) OriginCert ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s TunnelServer_authenticate_Params ) HasOriginCert ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_authenticate_Params ) SetOriginCert ( v [ ] byte ) error {
return s . Struct . SetData ( 0 , v )
}
func ( s TunnelServer_authenticate_Params ) Hostname ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . Text ( ) , err
}
func ( s TunnelServer_authenticate_Params ) HasHostname ( ) bool {
p , err := s . Struct . Ptr ( 1 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_authenticate_Params ) HostnameBytes ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return p . TextBytes ( ) , err
}
func ( s TunnelServer_authenticate_Params ) SetHostname ( v string ) error {
return s . Struct . SetText ( 1 , v )
}
func ( s TunnelServer_authenticate_Params ) Options ( ) ( RegistrationOptions , error ) {
p , err := s . Struct . Ptr ( 2 )
return RegistrationOptions { Struct : p . Struct ( ) } , err
}
func ( s TunnelServer_authenticate_Params ) HasOptions ( ) bool {
p , err := s . Struct . Ptr ( 2 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_authenticate_Params ) SetOptions ( v RegistrationOptions ) error {
return s . Struct . SetPtr ( 2 , v . Struct . ToPtr ( ) )
}
// NewOptions sets the options field to a newly
// allocated RegistrationOptions struct, preferring placement in s's segment.
func ( s TunnelServer_authenticate_Params ) NewOptions ( ) ( RegistrationOptions , error ) {
ss , err := NewRegistrationOptions ( s . Struct . Segment ( ) )
if err != nil {
return RegistrationOptions { } , err
}
err = s . Struct . SetPtr ( 2 , ss . Struct . ToPtr ( ) )
return ss , err
}
// TunnelServer_authenticate_Params_List is a list of TunnelServer_authenticate_Params.
type TunnelServer_authenticate_Params_List struct { capnp . List }
// NewTunnelServer_authenticate_Params creates a new list of TunnelServer_authenticate_Params.
func NewTunnelServer_authenticate_Params_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_authenticate_Params_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 3 } , sz )
return TunnelServer_authenticate_Params_List { l } , err
}
func ( s TunnelServer_authenticate_Params_List ) At ( i int ) TunnelServer_authenticate_Params {
return TunnelServer_authenticate_Params { s . List . Struct ( i ) }
}
func ( s TunnelServer_authenticate_Params_List ) Set ( i int , v TunnelServer_authenticate_Params ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_authenticate_Params_List ) String ( ) string {
str , _ := text . MarshalList ( 0x85c8cea1ab1894f3 , s . List )
return str
}
2019-11-18 16:28:18 +00:00
// TunnelServer_authenticate_Params_Promise is a wrapper for a TunnelServer_authenticate_Params promised by a client call.
type TunnelServer_authenticate_Params_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_authenticate_Params_Promise ) Struct ( ) ( TunnelServer_authenticate_Params , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_authenticate_Params { s } , err
}
func ( p TunnelServer_authenticate_Params_Promise ) Options ( ) RegistrationOptions_Promise {
return RegistrationOptions_Promise { Pipeline : p . Pipeline . GetPipeline ( 2 ) }
}
type TunnelServer_authenticate_Results struct { capnp . Struct }
// TunnelServer_authenticate_Results_TypeID is the unique identifier for the type TunnelServer_authenticate_Results.
const TunnelServer_authenticate_Results_TypeID = 0xfc5edf80e39c0796
func NewTunnelServer_authenticate_Results ( s * capnp . Segment ) ( TunnelServer_authenticate_Results , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_authenticate_Results { st } , err
}
func NewRootTunnelServer_authenticate_Results ( s * capnp . Segment ) ( TunnelServer_authenticate_Results , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_authenticate_Results { st } , err
}
func ReadRootTunnelServer_authenticate_Results ( msg * capnp . Message ) ( TunnelServer_authenticate_Results , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_authenticate_Results { root . Struct ( ) } , err
}
func ( s TunnelServer_authenticate_Results ) String ( ) string {
str , _ := text . Marshal ( 0xfc5edf80e39c0796 , s . Struct )
return str
}
func ( s TunnelServer_authenticate_Results ) Result ( ) ( AuthenticateResponse , error ) {
p , err := s . Struct . Ptr ( 0 )
return AuthenticateResponse { Struct : p . Struct ( ) } , err
}
func ( s TunnelServer_authenticate_Results ) HasResult ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_authenticate_Results ) SetResult ( v AuthenticateResponse ) error {
return s . Struct . SetPtr ( 0 , v . Struct . ToPtr ( ) )
}
// NewResult sets the result field to a newly
// allocated AuthenticateResponse struct, preferring placement in s's segment.
func ( s TunnelServer_authenticate_Results ) NewResult ( ) ( AuthenticateResponse , error ) {
ss , err := NewAuthenticateResponse ( s . Struct . Segment ( ) )
if err != nil {
return AuthenticateResponse { } , err
}
err = s . Struct . SetPtr ( 0 , ss . Struct . ToPtr ( ) )
return ss , err
}
// TunnelServer_authenticate_Results_List is a list of TunnelServer_authenticate_Results.
type TunnelServer_authenticate_Results_List struct { capnp . List }
// NewTunnelServer_authenticate_Results creates a new list of TunnelServer_authenticate_Results.
func NewTunnelServer_authenticate_Results_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_authenticate_Results_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } , sz )
return TunnelServer_authenticate_Results_List { l } , err
}
func ( s TunnelServer_authenticate_Results_List ) At ( i int ) TunnelServer_authenticate_Results {
return TunnelServer_authenticate_Results { s . List . Struct ( i ) }
}
func ( s TunnelServer_authenticate_Results_List ) Set ( i int , v TunnelServer_authenticate_Results ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_authenticate_Results_List ) String ( ) string {
str , _ := text . MarshalList ( 0xfc5edf80e39c0796 , s . List )
return str
}
2019-11-18 16:28:18 +00:00
// TunnelServer_authenticate_Results_Promise is a wrapper for a TunnelServer_authenticate_Results promised by a client call.
type TunnelServer_authenticate_Results_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_authenticate_Results_Promise ) Struct ( ) ( TunnelServer_authenticate_Results , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_authenticate_Results { s } , err
}
func ( p TunnelServer_authenticate_Results_Promise ) Result ( ) AuthenticateResponse_Promise {
return AuthenticateResponse_Promise { Pipeline : p . Pipeline . GetPipeline ( 0 ) }
}
2019-11-18 19:56:04 +00:00
type TunnelServer_reconnectTunnel_Params struct { capnp . Struct }
// TunnelServer_reconnectTunnel_Params_TypeID is the unique identifier for the type TunnelServer_reconnectTunnel_Params.
const TunnelServer_reconnectTunnel_Params_TypeID = 0xa353a3556df74984
func NewTunnelServer_reconnectTunnel_Params ( s * capnp . Segment ) ( TunnelServer_reconnectTunnel_Params , error ) {
2020-03-06 20:48:16 +00:00
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 5 } )
2019-11-18 19:56:04 +00:00
return TunnelServer_reconnectTunnel_Params { st } , err
}
func NewRootTunnelServer_reconnectTunnel_Params ( s * capnp . Segment ) ( TunnelServer_reconnectTunnel_Params , error ) {
2020-03-06 20:48:16 +00:00
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 5 } )
2019-11-18 19:56:04 +00:00
return TunnelServer_reconnectTunnel_Params { st } , err
}
func ReadRootTunnelServer_reconnectTunnel_Params ( msg * capnp . Message ) ( TunnelServer_reconnectTunnel_Params , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_reconnectTunnel_Params { root . Struct ( ) } , err
}
func ( s TunnelServer_reconnectTunnel_Params ) String ( ) string {
str , _ := text . Marshal ( 0xa353a3556df74984 , s . Struct )
return str
}
func ( s TunnelServer_reconnectTunnel_Params ) Jwt ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 0 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s TunnelServer_reconnectTunnel_Params ) HasJwt ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_reconnectTunnel_Params ) SetJwt ( v [ ] byte ) error {
return s . Struct . SetData ( 0 , v )
}
2019-11-25 17:57:06 +00:00
func ( s TunnelServer_reconnectTunnel_Params ) EventDigest ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 1 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s TunnelServer_reconnectTunnel_Params ) HasEventDigest ( ) bool {
2019-11-18 19:56:04 +00:00
p , err := s . Struct . Ptr ( 1 )
2019-11-25 17:57:06 +00:00
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_reconnectTunnel_Params ) SetEventDigest ( v [ ] byte ) error {
return s . Struct . SetData ( 1 , v )
}
2020-03-06 20:48:16 +00:00
func ( s TunnelServer_reconnectTunnel_Params ) ConnDigest ( ) ( [ ] byte , error ) {
p , err := s . Struct . Ptr ( 2 )
return [ ] byte ( p . Data ( ) ) , err
}
func ( s TunnelServer_reconnectTunnel_Params ) HasConnDigest ( ) bool {
2019-11-25 17:57:06 +00:00
p , err := s . Struct . Ptr ( 2 )
2020-03-06 20:48:16 +00:00
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_reconnectTunnel_Params ) SetConnDigest ( v [ ] byte ) error {
return s . Struct . SetData ( 2 , v )
}
func ( s TunnelServer_reconnectTunnel_Params ) Hostname ( ) ( string , error ) {
p , err := s . Struct . Ptr ( 3 )
2019-11-18 19:56:04 +00:00
return p . Text ( ) , err
}
func ( s TunnelServer_reconnectTunnel_Params ) HasHostname ( ) bool {
2020-03-06 20:48:16 +00:00
p , err := s . Struct . Ptr ( 3 )
2019-11-18 19:56:04 +00:00
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_reconnectTunnel_Params ) HostnameBytes ( ) ( [ ] byte , error ) {
2020-03-06 20:48:16 +00:00
p , err := s . Struct . Ptr ( 3 )
2019-11-18 19:56:04 +00:00
return p . TextBytes ( ) , err
}
func ( s TunnelServer_reconnectTunnel_Params ) SetHostname ( v string ) error {
2020-03-06 20:48:16 +00:00
return s . Struct . SetText ( 3 , v )
2019-11-18 19:56:04 +00:00
}
func ( s TunnelServer_reconnectTunnel_Params ) Options ( ) ( RegistrationOptions , error ) {
2020-03-06 20:48:16 +00:00
p , err := s . Struct . Ptr ( 4 )
2019-11-18 19:56:04 +00:00
return RegistrationOptions { Struct : p . Struct ( ) } , err
}
func ( s TunnelServer_reconnectTunnel_Params ) HasOptions ( ) bool {
2020-03-06 20:48:16 +00:00
p , err := s . Struct . Ptr ( 4 )
2019-11-18 19:56:04 +00:00
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_reconnectTunnel_Params ) SetOptions ( v RegistrationOptions ) error {
2020-03-06 20:48:16 +00:00
return s . Struct . SetPtr ( 4 , v . Struct . ToPtr ( ) )
2019-11-18 19:56:04 +00:00
}
// NewOptions sets the options field to a newly
// allocated RegistrationOptions struct, preferring placement in s's segment.
func ( s TunnelServer_reconnectTunnel_Params ) NewOptions ( ) ( RegistrationOptions , error ) {
ss , err := NewRegistrationOptions ( s . Struct . Segment ( ) )
if err != nil {
return RegistrationOptions { } , err
}
2020-03-06 20:48:16 +00:00
err = s . Struct . SetPtr ( 4 , ss . Struct . ToPtr ( ) )
2019-11-18 19:56:04 +00:00
return ss , err
}
// TunnelServer_reconnectTunnel_Params_List is a list of TunnelServer_reconnectTunnel_Params.
type TunnelServer_reconnectTunnel_Params_List struct { capnp . List }
// NewTunnelServer_reconnectTunnel_Params creates a new list of TunnelServer_reconnectTunnel_Params.
func NewTunnelServer_reconnectTunnel_Params_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_reconnectTunnel_Params_List , error ) {
2020-03-06 20:48:16 +00:00
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 5 } , sz )
2019-11-18 19:56:04 +00:00
return TunnelServer_reconnectTunnel_Params_List { l } , err
}
func ( s TunnelServer_reconnectTunnel_Params_List ) At ( i int ) TunnelServer_reconnectTunnel_Params {
return TunnelServer_reconnectTunnel_Params { s . List . Struct ( i ) }
}
func ( s TunnelServer_reconnectTunnel_Params_List ) Set ( i int , v TunnelServer_reconnectTunnel_Params ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_reconnectTunnel_Params_List ) String ( ) string {
str , _ := text . MarshalList ( 0xa353a3556df74984 , s . List )
return str
}
2019-11-18 19:56:04 +00:00
// TunnelServer_reconnectTunnel_Params_Promise is a wrapper for a TunnelServer_reconnectTunnel_Params promised by a client call.
type TunnelServer_reconnectTunnel_Params_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_reconnectTunnel_Params_Promise ) Struct ( ) ( TunnelServer_reconnectTunnel_Params , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_reconnectTunnel_Params { s } , err
}
func ( p TunnelServer_reconnectTunnel_Params_Promise ) Options ( ) RegistrationOptions_Promise {
2020-03-06 20:48:16 +00:00
return RegistrationOptions_Promise { Pipeline : p . Pipeline . GetPipeline ( 4 ) }
2019-11-18 19:56:04 +00:00
}
type TunnelServer_reconnectTunnel_Results struct { capnp . Struct }
// TunnelServer_reconnectTunnel_Results_TypeID is the unique identifier for the type TunnelServer_reconnectTunnel_Results.
const TunnelServer_reconnectTunnel_Results_TypeID = 0xd4d18de97bb12de3
func NewTunnelServer_reconnectTunnel_Results ( s * capnp . Segment ) ( TunnelServer_reconnectTunnel_Results , error ) {
st , err := capnp . NewStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_reconnectTunnel_Results { st } , err
}
func NewRootTunnelServer_reconnectTunnel_Results ( s * capnp . Segment ) ( TunnelServer_reconnectTunnel_Results , error ) {
st , err := capnp . NewRootStruct ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } )
return TunnelServer_reconnectTunnel_Results { st } , err
}
func ReadRootTunnelServer_reconnectTunnel_Results ( msg * capnp . Message ) ( TunnelServer_reconnectTunnel_Results , error ) {
root , err := msg . RootPtr ( )
return TunnelServer_reconnectTunnel_Results { root . Struct ( ) } , err
}
func ( s TunnelServer_reconnectTunnel_Results ) String ( ) string {
str , _ := text . Marshal ( 0xd4d18de97bb12de3 , s . Struct )
return str
}
func ( s TunnelServer_reconnectTunnel_Results ) Result ( ) ( TunnelRegistration , error ) {
p , err := s . Struct . Ptr ( 0 )
return TunnelRegistration { Struct : p . Struct ( ) } , err
}
func ( s TunnelServer_reconnectTunnel_Results ) HasResult ( ) bool {
p , err := s . Struct . Ptr ( 0 )
return p . IsValid ( ) || err != nil
}
func ( s TunnelServer_reconnectTunnel_Results ) SetResult ( v TunnelRegistration ) error {
return s . Struct . SetPtr ( 0 , v . Struct . ToPtr ( ) )
}
// NewResult sets the result field to a newly
// allocated TunnelRegistration struct, preferring placement in s's segment.
func ( s TunnelServer_reconnectTunnel_Results ) NewResult ( ) ( TunnelRegistration , error ) {
ss , err := NewTunnelRegistration ( s . Struct . Segment ( ) )
if err != nil {
return TunnelRegistration { } , err
}
err = s . Struct . SetPtr ( 0 , ss . Struct . ToPtr ( ) )
return ss , err
}
// TunnelServer_reconnectTunnel_Results_List is a list of TunnelServer_reconnectTunnel_Results.
type TunnelServer_reconnectTunnel_Results_List struct { capnp . List }
// NewTunnelServer_reconnectTunnel_Results creates a new list of TunnelServer_reconnectTunnel_Results.
func NewTunnelServer_reconnectTunnel_Results_List ( s * capnp . Segment , sz int32 ) ( TunnelServer_reconnectTunnel_Results_List , error ) {
l , err := capnp . NewCompositeList ( s , capnp . ObjectSize { DataSize : 0 , PointerCount : 1 } , sz )
return TunnelServer_reconnectTunnel_Results_List { l } , err
}
func ( s TunnelServer_reconnectTunnel_Results_List ) At ( i int ) TunnelServer_reconnectTunnel_Results {
return TunnelServer_reconnectTunnel_Results { s . List . Struct ( i ) }
}
func ( s TunnelServer_reconnectTunnel_Results_List ) Set ( i int , v TunnelServer_reconnectTunnel_Results ) error {
return s . List . SetStruct ( i , v . Struct )
}
2020-03-05 21:20:12 +00:00
func ( s TunnelServer_reconnectTunnel_Results_List ) String ( ) string {
str , _ := text . MarshalList ( 0xd4d18de97bb12de3 , s . List )
return str
}
2019-11-18 19:56:04 +00:00
// TunnelServer_reconnectTunnel_Results_Promise is a wrapper for a TunnelServer_reconnectTunnel_Results promised by a client call.
type TunnelServer_reconnectTunnel_Results_Promise struct { * capnp . Pipeline }
func ( p TunnelServer_reconnectTunnel_Results_Promise ) Struct ( ) ( TunnelServer_reconnectTunnel_Results , error ) {
s , err := p . Pipeline . Struct ( )
return TunnelServer_reconnectTunnel_Results { s } , err
}
func ( p TunnelServer_reconnectTunnel_Results_Promise ) Result ( ) TunnelRegistration_Promise {
return TunnelRegistration_Promise { Pipeline : p . Pipeline . GetPipeline ( 0 ) }
}
2020-05-29 11:12:04 +00:00
const schema_db8274f9144abc7e = "x\xda\xccX}\x8c\x14g\x19\x7f~\xf3\xee\xee\xdcq" +
"\xbb\xecMf\x89pis\x86\xd0\xd4\x12[\x8b'\x86" +
"\xe2\xc7\xdd\xd1\x03=\xe4c\xe7\x16LK\xa9\xe9\xdc\xde" +
"{\xc7\x9c\xbb3\xdb\x99\xd9+\x87\xa5\x85\x0b\xa4\xa5\xc1" +
"\xdaR0\x05[\x834\xc6T\x8d\x16?\xa254\xa1" +
"\xd1\xd8\x9a6V\x0c\x1a\xa84j)ilJP\xc4" +
"\x98\x9a\xea\x98gvgv8Z\x0a\xe5\x9f\xfe\xb7\xf7" +
"\x9b\xe7}\xbe\xdf\xe7\xf7\xbcw\xe3\x89T\x9f\xb2 \xfd" +
"z\x86\xc8(\xa63\x81\x9c\xff\xfbM\xfb\xaf\xf9\xe5\x14" +
"\x19]@p\xcf\xa1\xe5\x85\xb7\xfc\xa9?QZ\xa8D" +
"=\xb7\x8aM\xd0\xab\xfcS\xb7\xc4\xeb\x84\xe0\xd3\xd5\x97" +
"\x0e|r\xcf\x0b\xdbH\xebRZ\xc2\x84\x9e\x95\xa9M" +
"\xd0\xcd\x14K\xde\x9eZM\x08\xfe\xb9{\xf6\xf7\xbe\xf5" +
"\xdb\xe7\xb7\x93v-\xa8\xa9\xae\x9ez\x19\x04}G\xea" +
"\x87\x84\xe0\xa5\x8f\x1e\xfa\xc5C?\xbe\xef\x1bd\\\x0b" +
"\x10\xf1\xd1\x9e\xeb\xd2\xffa\x81\xcf\xa4{\x09\xc1\xeec" +
"\xcf\xac\xaa>\xbc\xef@CC\xf8]\xa6\x15\x85R\xc1" +
"\xb6\xc1\x7fW\xd7>Qz\xa2\xa9;\x1d\xba\x9a>\x0b" +
"BO5\xdd\x0dB\xb0\xf0\xe5S\xabW\xfeh\xf4;" +
"\x89\xb3;2\x9b\xf8\xec\xacA\x9c8\xbc \xf5\xb3\xa4" +
"_\xdb3o\xb0\xd9\xbd\x19\xf6\xeb\xea\xd3Kr\xf6\x99" +
"\xa9\xc3\xa4u]\x90\x8f\x9b\xd4\xe5\xd0W\xaa\x1c\xe5\xa0" +
"\xca\xc2\xcbo{dW\xfa\xd4#\xcfq\xf6\x12\x09I" +
"\xb7\xb1\xf4)\xd5\x85\xfe\x16K\xf7\xfcK\xfd\x90 \x04" +
"]O}\xea\x07KF\x8e\xbf0M\xb7\xc2\x0a\xeb\x1d" +
"g\xf5\xad\x1d\xfcks\xc7]\x84\xe0\xe4\xf5\x07\xbf\xf2" +
"\xb7\xaf\x1e9\xdat\x14\xac\xe6xG\x98\x9f\xd3\x1d\x9c" +
"\x1f\xe5\x949g\xcb\x1f?{\"\x11c.\xfb*(" +
"\x15\xac\xfa\xe2m\xe3\xed\x9bO\x9eL\x1eE6\x8cq" +
"V\x96\x8f.\xbc\xa3_\xae_t\xcb\x1b\xa4u\x89\xf3" +
"\xca\xb80\xbb\x18\xfa\xd2,\x1f\xe8\xcf\xde\x07\xfd\xd6\x9c" +
"J\x14<x\xcf\xc0\xea\x9b\xe6>{6\xa9\xaf?\xc7" +
"\xf9\xd6\xd7\xe6X\xdf\xe8\xa27?w\xcd\x83\xbf>;" +
"-\xaeP\xb0\x9e\x9b\x0f};\xeb\xd1\xb7\xb2\xf0\x99e" +
"\xdf<\xda\x95\xef:7\xad\xdf2,\xfb\xed\xdc8\xf4" +
"\xa7Y\xb6\xe7\xa7\xb9\xe7\xb8\x90_W\x1f;\xb9\xe5\xcf" +
"_z;i\xfa\xc9\xfc\xabl\xfa\x99<\x9b\xbe\xfb\xcc" +
"\xde\xcf\x7fm\xfd\xf7\xff\x97\xc8\xc2+\xf9)\xae\xb4_" +
"\xb7mYqk\xa9\xf2\xc7\xa2\x9f\xe5\x1b\xcaf\xcd\xae" +
"-\xee\xaf\xfb\x1b\xa4\xed[e\xd3\x97C\xb2\xd7\xab9" +
"\xb6'\x8b\x80\xd1)RD)\x10i\xe68\x91q\x87" +
"\x80QQ\xa0\x01\x05\xeeQ\xcdbp\x83\x80\xe1+\xd0" +
"\x14\xa5\x00\x85H\xbbs.\x91Q\x1106*\x80(" +
"@\x10i\xf5]D\xc6F\x01c\x9b\x82\xa0&\xdd\xaa" +
"iK\x9b\xf2\xfeR\xd7E\x96\x14d\x09\x81+}w" +
"\xd2\x1c\xaeP^&`u\xfc.\x1f9R\x90#\x04" +
"\x1b\x9c\xba\xeb\xad\xb5}X\x95!9\xeaJ\x0f\x1b\x90" +
"!\x05\x19\xc2\xc5\xc2[\xba\xd1\xf2|\xcb\x1e[\x13\xe2" +
"\xbdE\xa7b\x95'9\xbcl\xe8\xf0\xd5\x8b\x89\x00m" +
"\xd6:\"(\x9a\xb6\x84\xa8\xd7\x1a\xb3\x1dW\x06#\x96" +
"Wvl[\x92(\xfb\xf7\x0e\x9b\x15\xd3.\xcb\xd8P" +
"\xe6BC\x0d\x03%\xe9NH\xf7\x063\x91\xd4yE" +
"\xd35E\xd53\xb2qB\x97\xae#2\x06\x04\x8cb" +
"\"\xa1+\x97\x13\x19+\x04\x8c[\x12\x09]\xbb\x84g" +
"\x93\x80\xb1^A\xe0\xb8\xd6\x98e\xdf,I\xb8\xc9\xbc" +
"x\xbemV%\x11Ey\xbb\xd7\xa9\xf9\x96c{\xe8" +
"l]J\x02:\x13\x99z\xaf\x00\xea\xb6+\xc7,\xcf" +
"\x97n\x03\x9e\xd7\xcbQT=#\x15\x07\x91\xdbGd" +
"t\x0a\x18W)\x08\xc6\\\xb3,\x8b\xd2\x85\xe5\x8c\xac" +
"2m\xa7$d\x19iR\x90N\x18\x9dy\xb9F\x87" +
"\xa4W\xaf\xf8\x1e\xc5\xa7.~\xde\x95a\xc5\xca~\xf3" +
"x\xb1\xbb\xe1s!\xf6y\xf3\xdcV/\xc6\x89\xdf:" +
"Ldl\x110v&\x12\xbf\x83Kt\xbf\x80\xb1[" +
"\x81&\x9a\xad\xfc0\x97\xe8!\x01\xe31\x05Z*U" +
"@\x8aH\xdb\xcb%\xda-`\xecW\xce\xefX9!" +
"m\x7f\xc0\x1a#Uz-\x94]\x1c\xb0\xc6$\x09\xef" +
"J\x8b\xd8\xf6\x1e\xf9p\x86=\xa7\"}9 \xcb\x15" +
"\xd35}kB6\xbe\xdf\xdcHST\xd4K\xee\x8a" +
"i\xe5)\x9a\xf90\xbf\x1f\xa4\xc6\xbe\xf8\x84\xb3\x1c\x9b" +
"(\xbc\xfd-\x97\xb9%\xfa\x04\x8c\x15\x09\x97\x07?\x9e" +
"\x88#ry\xe5p+\x0e\xf5\xcbr2\xf2\xaa[V" +
"M\xab\x12\xcf\xb2f0\xfd\xa4~\xa1%s1\xff\x86" +
"\xc2\xac\xba\xa1w\xabk\xdda\x84\xec\xe3\xa2\xc8G}" +
"\x12\xcb\x89J\x1b!P\xda\x86\x96\x9b\xfaV,!*" +
"\xdd\xcd\xf8\xfdhy\xaaoG\x17Qi\x0b\xe3;\x11" +
"Ob}\x07\xbeKT\xda\xc9\xf0\xa3,\x9e\x12a\x07" +
"\xeb{B\xf5\xbb\x19\xdf\xcfx:U@\x9aH\x7f\x1c" +
"\xf3\x89J\x8f2\xfe\x13\xc63J\x01\x19\"\xfd \xc6" +
"\x89JO1~\x88q5]`2\xd2\x9f\x86KT" +
"\xfa9\xe3\xbfb\xbcmv\x01mD\xfa\xb3!~\x98" +
"\xf1\x17\x19o\x9fS@;\x91\xfe\x1bL\x11\x95\x9eg" +
"\xfc(\xe33P\xc0\x0c\"\xfd\x08\xf6\x11\x95\x8e2\xfe" +
"\x17\xc6;2\x05t\x10\xe9\xaf\x84\xfe\x1cc\xfc5\xc6" +
"\xb3\xa9\x02\xb2D\xfa_q\x80\xa8\xf4\x1a\xe3\x7fg<" +
"\xa7\x16\x90#\xd2O\x87q\xbd\xc9x\x9b\xa2 (W" +
",i\xfb\x83#\xc9\x8e\x9a\x90\xaeg9v\xf4\xb7p" +
"\xbc\xb8d\xb2I\x1dh\xb4{\xd1\xc93w \xdf\xda" +
"\xfc\x08\xc8\x13\x82\x9a\xe3TV\x9d\xdf\xa9y\xdf\x1c\xf3" +
"0\x93P\x14@gk\xd9!0\x184\xe7\x94Ey" +
"\xc7\x1e\x1c\x89y\xac\xd1:+\x1c\xea.\x9b\x95\xc1Z" +
"\xec\x89\xe5\xf5\xd7}\xa7^\xa3\xee\x11\xd3\x97#\x00)" +
"\xe0\x8d\xc0\xad\xdb\xcb\\\xa7\xba\x06\xd2\xadZ\xb6Y\xa1" +
"\xf8K\xd9\xa9\xd6\\\xe9y\xb0\x1c\xdb\xa8\x9b\x15K\xf8" +
"\x93h'\x05\xed\x84|\xbdn\x8d\xc4\xba\xedz\xb5\xe8" +
"\xca\x09\x0bN\xdd\xeb\xf7}YUk\xbe\x17{4*" +
"M\xbf\xeeJ\x8fCkF\xc3\x07g&:Z\x99\xde" +
"\xd1\xdd\xb5\xc5k\xcc1\xee\xe0\xb6\xf8\x96]7\x9f\xc8" +
"\x98'`\xdc\x98\xb8e\xd7\xf3-\xfb\x88\x80\xf1\x09\x05" +
"y\xbe\xea\xf1\x8d\x9a0+uy\xc1\xdd\xc9\\\xe6\xfc" +
"\x1f\xeam\xf0G\x92\xb4\x16\x13\x19m\x02FAA\xaf" +
"\x1b~Fg\xb4\x86]&G\x8eI\xbf\xf1k\xd0\x1e" +
"u\x98\xe5\xd5\xcb\x99\xa5\xe7\x9f\x1e\x92^\xfeR\\m" +
"\xad\x97\xd3\x9c\x15\xeff\xae\xb7a\x85\xcb1[\xa4\x89" +
"\xe2\xad\x1f\xd1*\xab\x1d\xdcD\x8a\xf6\xa4\x8a\xd6\x1e\x8d" +
"hm\xd6\x1ewI\xd1\xf6\xa8P\xe2G\x0a\xa2\xc7\x88" +
"\xb6\xe3\x01R\xb4\xed*D\xfc\xc6@\xb4\x82.\x98\x9c" +
"\x01R\xb4\xcd*R\xf1\xf3\x07\xd1\x02\xab\xdd9N\x8a" +
"f\xa9H\xc7\xcf\x17D+\xbev\xfb\x14)\xdaZ5" +
"\x88\xb8\x86z\x1bq\xf4!\x88RF\xdda\xd2\xfa\x10" +
"D\x1b\x03\"N\"\xeaC\x10\xf1\x9ex7\xe2\x0b\xa5" +
"\xa2\x1d\x8d\xf2\xbc\xa5\xf5\xf1\x12\xdah\x1f4\xfb\x87\xfa" +
"P\x04\xde/9\x0e\xc9\xee+i\xbew\xa8g\xc3N" +
"\x9eC\xe7j&\xf4\xf2*\x9e\x150f+\x08*N" +
"\x93\xe7\xf2\xab\x127\xeab\xfc\xd3p8b\xa1<\x1f" +
"f\xfd\x1f\x8e\xf5\x1fa\x8a|Q\xc08\x96\xb8\xbc\x7f" +
"`\xf0w\x02\xc6\x89\x04E\x1eg\xaa?&`\x9ck" +
"\xed\xff\xffx\x80\xc88'0\x94\xa0\x1c\xed\xbf,\xf8" +
"6\x0f\xe6\x90p\xd0 \x9c4v\x11\x95\xdax`\x17" +
"B\xc2I5\x08G\xc30Q\xa9\x93\xf1\xab\x92\x843" +
"\x07\xeb\x88J\xb3\x19\x9f\x07\x05\xaaL\xbc\x1d\xean\x8b" +
"\x92+\xce\xd8\x0a\xcb~\xc7)\x16=H\xe0/3\xad" +
"J\xdd\x95\xd4\x1a\xa2\x8dD\x0d\x0e$\xe6z\xe3\xa5\xd2" +
"?\xca\x1dW\xe2~\x19\x81\x07\x95\x14\xa8\x97\xb7\xf0\xbd" +
"\xaf\x87\x04\xaf\xc3\xea\xa5\x0c\x89\xf8\x1f\x19\xd3\x9a\xaa\xfd" +
"J\x17\xc6h!\xff\x7f\x00\x00\x00\xff\xff/\xf3\xa2\xe2"
2018-05-01 23:45:06 +00:00
func init ( ) {
schemas . Register ( schema_db8274f9144abc7e ,
2019-11-18 16:28:18 +00:00
0x82c325a07ad22a65 ,
2018-05-01 23:45:06 +00:00
0x84cb9536a2cf6d3c ,
2019-11-18 16:28:18 +00:00
0x85c8cea1ab1894f3 ,
2018-05-01 23:45:06 +00:00
0x9b87b390babc2ccf ,
0xa29a916d4ebdd894 ,
2019-11-18 19:56:04 +00:00
0xa353a3556df74984 ,
2019-03-18 23:14:47 +00:00
0xa766b24d4fe5da35 ,
2018-05-01 23:45:06 +00:00
0xb70431c0dc014915 ,
0xc082ef6e0d42ed1d ,
0xc793e50592935b4a ,
0xcbd96442ae3bb01a ,
2019-11-18 19:56:04 +00:00
0xd4d18de97bb12de3 ,
2018-05-01 23:45:06 +00:00
0xdc3ed6801961e502 ,
0xe3e37d096a5b564e ,
0xea58385c65416035 ,
0xf2c122394f447e8e ,
0xf2c68e2547ec3866 ,
2019-03-18 23:14:47 +00:00
0xf41a0f001ad49e46 ,
2019-11-18 16:28:18 +00:00
0xfc5edf80e39c0796 ,
2020-05-29 11:12:04 +00:00
0xfeac5c8f4899ef7c )
2018-05-01 23:45:06 +00:00
}