Documentation
¶
Overview ¶
Package logtransport provides a transport that logs all of its messages.
Index ¶
- Constants
- func CloudflaredServer_Methods(methods []server.Method, s CloudflaredServer_Server) []server.Method
- func ConfigurationManager_Methods(methods []server.Method, s ConfigurationManager_Server) []server.Method
- func ConnLog(log *zerolog.Logger) rpc.ConnOption
- func ConnTrace(events trace.EventLog) rpc.ConnOption
- func NewTransportLogger(log *zerolog.Logger, t rpc.Transport) rpc.Transport
- func RegistrationServer_Methods(methods []server.Method, s RegistrationServer_Server) []server.Method
- func SessionManager_Methods(methods []server.Method, s SessionManager_Server) []server.Method
- func TunnelServer_Methods(methods []server.Method, s TunnelServer_Server) []server.Method
- type AuthenticateResponse
- func (s AuthenticateResponse) HasJwt() bool
- func (s AuthenticateResponse) HasPermanentErr() bool
- func (s AuthenticateResponse) HasRetryableErr() bool
- func (s AuthenticateResponse) HoursUntilRefresh() uint8
- func (s AuthenticateResponse) Jwt() ([]byte, error)
- func (s AuthenticateResponse) PermanentErr() (string, error)
- func (s AuthenticateResponse) PermanentErrBytes() ([]byte, error)
- func (s AuthenticateResponse) RetryableErr() (string, error)
- func (s AuthenticateResponse) RetryableErrBytes() ([]byte, error)
- func (s AuthenticateResponse) SetHoursUntilRefresh(v uint8)
- func (s AuthenticateResponse) SetJwt(v []byte) error
- func (s AuthenticateResponse) SetPermanentErr(v string) error
- func (s AuthenticateResponse) SetRetryableErr(v string) error
- func (s AuthenticateResponse) String() string
- type AuthenticateResponse_List
- type AuthenticateResponse_Promise
- type Authentication
- func (s Authentication) Email() (string, error)
- func (s Authentication) EmailBytes() ([]byte, error)
- func (s Authentication) HasEmail() bool
- func (s Authentication) HasKey() bool
- func (s Authentication) HasOriginCAKey() bool
- func (s Authentication) Key() (string, error)
- func (s Authentication) KeyBytes() ([]byte, error)
- func (s Authentication) OriginCAKey() (string, error)
- func (s Authentication) OriginCAKeyBytes() ([]byte, error)
- func (s Authentication) SetEmail(v string) error
- func (s Authentication) SetKey(v string) error
- func (s Authentication) SetOriginCAKey(v string) error
- func (s Authentication) String() string
- type Authentication_List
- type Authentication_Promise
- type ClientInfo
- func (s ClientInfo) Arch() (string, error)
- func (s ClientInfo) ArchBytes() ([]byte, error)
- func (s ClientInfo) ClientId() ([]byte, error)
- func (s ClientInfo) Features() (capnp.TextList, error)
- func (s ClientInfo) HasArch() bool
- func (s ClientInfo) HasClientId() bool
- func (s ClientInfo) HasFeatures() bool
- func (s ClientInfo) HasVersion() bool
- func (s ClientInfo) NewFeatures(n int32) (capnp.TextList, error)
- func (s ClientInfo) SetArch(v string) error
- func (s ClientInfo) SetClientId(v []byte) error
- func (s ClientInfo) SetFeatures(v capnp.TextList) error
- func (s ClientInfo) SetVersion(v string) error
- func (s ClientInfo) String() string
- func (s ClientInfo) Version() (string, error)
- func (s ClientInfo) VersionBytes() ([]byte, error)
- type ClientInfo_List
- type ClientInfo_Promise
- type CloudflaredServer
- func (c CloudflaredServer) RegisterUdpSession(ctx context.Context, ...) SessionManager_registerUdpSession_Results_Promise
- func (c CloudflaredServer) UnregisterUdpSession(ctx context.Context, ...) SessionManager_unregisterUdpSession_Results_Promise
- func (c CloudflaredServer) UpdateConfiguration(ctx context.Context, ...) ConfigurationManager_updateConfiguration_Results_Promise
- type CloudflaredServer_Server
- type ConfigurationManager
- type ConfigurationManager_Server
- type ConfigurationManager_updateConfiguration
- type ConfigurationManager_updateConfiguration_Params
- func NewConfigurationManager_updateConfiguration_Params(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Params, error)
- func NewRootConfigurationManager_updateConfiguration_Params(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Params, error)
- func ReadRootConfigurationManager_updateConfiguration_Params(msg *capnp.Message) (ConfigurationManager_updateConfiguration_Params, error)
- func (s ConfigurationManager_updateConfiguration_Params) Config() ([]byte, error)
- func (s ConfigurationManager_updateConfiguration_Params) HasConfig() bool
- func (s ConfigurationManager_updateConfiguration_Params) SetConfig(v []byte) error
- func (s ConfigurationManager_updateConfiguration_Params) SetVersion(v int32)
- func (s ConfigurationManager_updateConfiguration_Params) String() string
- func (s ConfigurationManager_updateConfiguration_Params) Version() int32
- type ConfigurationManager_updateConfiguration_Params_List
- func (s ConfigurationManager_updateConfiguration_Params_List) At(i int) ConfigurationManager_updateConfiguration_Params
- func (s ConfigurationManager_updateConfiguration_Params_List) Set(i int, v ConfigurationManager_updateConfiguration_Params) error
- func (s ConfigurationManager_updateConfiguration_Params_List) String() string
- type ConfigurationManager_updateConfiguration_Params_Promise
- type ConfigurationManager_updateConfiguration_Results
- func NewConfigurationManager_updateConfiguration_Results(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Results, error)
- func NewRootConfigurationManager_updateConfiguration_Results(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Results, error)
- func ReadRootConfigurationManager_updateConfiguration_Results(msg *capnp.Message) (ConfigurationManager_updateConfiguration_Results, error)
- func (s ConfigurationManager_updateConfiguration_Results) HasResult() bool
- func (s ConfigurationManager_updateConfiguration_Results) NewResult() (UpdateConfigurationResponse, error)
- func (s ConfigurationManager_updateConfiguration_Results) Result() (UpdateConfigurationResponse, error)
- func (s ConfigurationManager_updateConfiguration_Results) SetResult(v UpdateConfigurationResponse) error
- func (s ConfigurationManager_updateConfiguration_Results) String() string
- type ConfigurationManager_updateConfiguration_Results_List
- func (s ConfigurationManager_updateConfiguration_Results_List) At(i int) ConfigurationManager_updateConfiguration_Results
- func (s ConfigurationManager_updateConfiguration_Results_List) Set(i int, v ConfigurationManager_updateConfiguration_Results) error
- func (s ConfigurationManager_updateConfiguration_Results_List) String() string
- type ConfigurationManager_updateConfiguration_Results_Promise
- type ConnLogger
- type ConnTracer
- type ConnectionDetails
- func (s ConnectionDetails) HasLocationName() bool
- func (s ConnectionDetails) HasUuid() bool
- func (s ConnectionDetails) LocationName() (string, error)
- func (s ConnectionDetails) LocationNameBytes() ([]byte, error)
- func (s ConnectionDetails) SetLocationName(v string) error
- func (s ConnectionDetails) SetTunnelIsRemotelyManaged(v bool)
- func (s ConnectionDetails) SetUuid(v []byte) error
- func (s ConnectionDetails) String() string
- func (s ConnectionDetails) TunnelIsRemotelyManaged() bool
- func (s ConnectionDetails) Uuid() ([]byte, error)
- type ConnectionDetails_List
- type ConnectionDetails_Promise
- type ConnectionError
- func (s ConnectionError) Cause() (string, error)
- func (s ConnectionError) CauseBytes() ([]byte, error)
- func (s ConnectionError) HasCause() bool
- func (s ConnectionError) RetryAfter() int64
- func (s ConnectionError) SetCause(v string) error
- func (s ConnectionError) SetRetryAfter(v int64)
- func (s ConnectionError) SetShouldRetry(v bool)
- func (s ConnectionError) ShouldRetry() bool
- func (s ConnectionError) String() string
- type ConnectionError_List
- type ConnectionError_Promise
- type ConnectionOptions
- func (s ConnectionOptions) Client() (ClientInfo, error)
- func (s ConnectionOptions) CompressionQuality() uint8
- func (s ConnectionOptions) HasClient() bool
- func (s ConnectionOptions) HasOriginLocalIp() bool
- func (s ConnectionOptions) NewClient() (ClientInfo, error)
- func (s ConnectionOptions) NumPreviousAttempts() uint8
- func (s ConnectionOptions) OriginLocalIp() ([]byte, error)
- func (s ConnectionOptions) ReplaceExisting() bool
- func (s ConnectionOptions) SetClient(v ClientInfo) error
- func (s ConnectionOptions) SetCompressionQuality(v uint8)
- func (s ConnectionOptions) SetNumPreviousAttempts(v uint8)
- func (s ConnectionOptions) SetOriginLocalIp(v []byte) error
- func (s ConnectionOptions) SetReplaceExisting(v bool)
- func (s ConnectionOptions) String() string
- type ConnectionOptions_List
- type ConnectionOptions_Promise
- type ConnectionResponse
- type ConnectionResponse_List
- type ConnectionResponse_Promise
- type ConnectionResponse_result
- func (s ConnectionResponse_result) ConnectionDetails() (ConnectionDetails, error)
- func (s ConnectionResponse_result) Error() (ConnectionError, error)
- func (s ConnectionResponse_result) HasConnectionDetails() bool
- func (s ConnectionResponse_result) HasError() bool
- func (s ConnectionResponse_result) NewConnectionDetails() (ConnectionDetails, error)
- func (s ConnectionResponse_result) NewError() (ConnectionError, error)
- func (s ConnectionResponse_result) SetConnectionDetails(v ConnectionDetails) error
- func (s ConnectionResponse_result) SetError(v ConnectionError) error
- func (s ConnectionResponse_result) Which() ConnectionResponse_result_Which
- type ConnectionResponse_result_Promise
- type ConnectionResponse_result_Which
- type ExistingTunnelPolicy
- type ExistingTunnelPolicy_List
- type RegisterUdpSessionResponse
- func (s RegisterUdpSessionResponse) Err() (string, error)
- func (s RegisterUdpSessionResponse) ErrBytes() ([]byte, error)
- func (s RegisterUdpSessionResponse) HasErr() bool
- func (s RegisterUdpSessionResponse) HasSpans() bool
- func (s RegisterUdpSessionResponse) SetErr(v string) error
- func (s RegisterUdpSessionResponse) SetSpans(v []byte) error
- func (s RegisterUdpSessionResponse) Spans() ([]byte, error)
- func (s RegisterUdpSessionResponse) String() string
- type RegisterUdpSessionResponse_List
- type RegisterUdpSessionResponse_Promise
- type RegistrationOptions
- func (s RegistrationOptions) ClientId() (string, error)
- func (s RegistrationOptions) ClientIdBytes() ([]byte, error)
- func (s RegistrationOptions) CompressionQuality() uint64
- func (s RegistrationOptions) ConnectionId() uint8
- func (s RegistrationOptions) ExistingTunnelPolicy() ExistingTunnelPolicy
- func (s RegistrationOptions) Features() (capnp.TextList, error)
- func (s RegistrationOptions) HasClientId() bool
- func (s RegistrationOptions) HasFeatures() bool
- func (s RegistrationOptions) HasOriginLocalIp() bool
- func (s RegistrationOptions) HasOs() bool
- func (s RegistrationOptions) HasPoolName() bool
- func (s RegistrationOptions) HasTags() bool
- func (s RegistrationOptions) HasUuid() bool
- func (s RegistrationOptions) HasVersion() bool
- func (s RegistrationOptions) IsAutoupdated() bool
- func (s RegistrationOptions) NewFeatures(n int32) (capnp.TextList, error)
- func (s RegistrationOptions) NewTags(n int32) (Tag_List, error)
- func (s RegistrationOptions) NumPreviousAttempts() uint8
- func (s RegistrationOptions) OriginLocalIp() (string, error)
- func (s RegistrationOptions) OriginLocalIpBytes() ([]byte, error)
- func (s RegistrationOptions) Os() (string, error)
- func (s RegistrationOptions) OsBytes() ([]byte, error)
- func (s RegistrationOptions) PoolName() (string, error)
- func (s RegistrationOptions) PoolNameBytes() ([]byte, error)
- func (s RegistrationOptions) RunFromTerminal() bool
- func (s RegistrationOptions) SetClientId(v string) error
- func (s RegistrationOptions) SetCompressionQuality(v uint64)
- func (s RegistrationOptions) SetConnectionId(v uint8)
- func (s RegistrationOptions) SetExistingTunnelPolicy(v ExistingTunnelPolicy)
- func (s RegistrationOptions) SetFeatures(v capnp.TextList) error
- func (s RegistrationOptions) SetIsAutoupdated(v bool)
- func (s RegistrationOptions) SetNumPreviousAttempts(v uint8)
- func (s RegistrationOptions) SetOriginLocalIp(v string) error
- func (s RegistrationOptions) SetOs(v string) error
- func (s RegistrationOptions) SetPoolName(v string) error
- func (s RegistrationOptions) SetRunFromTerminal(v bool)
- func (s RegistrationOptions) SetTags(v Tag_List) error
- func (s RegistrationOptions) SetUuid(v string) error
- func (s RegistrationOptions) SetVersion(v string) error
- func (s RegistrationOptions) String() string
- func (s RegistrationOptions) Tags() (Tag_List, error)
- func (s RegistrationOptions) Uuid() (string, error)
- func (s RegistrationOptions) UuidBytes() ([]byte, error)
- func (s RegistrationOptions) Version() (string, error)
- func (s RegistrationOptions) VersionBytes() ([]byte, error)
- type RegistrationOptions_List
- type RegistrationOptions_Promise
- type RegistrationServer
- func (c RegistrationServer) RegisterConnection(ctx context.Context, ...) RegistrationServer_registerConnection_Results_Promise
- func (c RegistrationServer) UnregisterConnection(ctx context.Context, ...) RegistrationServer_unregisterConnection_Results_Promise
- func (c RegistrationServer) UpdateLocalConfiguration(ctx context.Context, ...) RegistrationServer_updateLocalConfiguration_Results_Promise
- type RegistrationServer_Server
- type RegistrationServer_registerConnection
- type RegistrationServer_registerConnection_Params
- func NewRegistrationServer_registerConnection_Params(s *capnp.Segment) (RegistrationServer_registerConnection_Params, error)
- func NewRootRegistrationServer_registerConnection_Params(s *capnp.Segment) (RegistrationServer_registerConnection_Params, error)
- func ReadRootRegistrationServer_registerConnection_Params(msg *capnp.Message) (RegistrationServer_registerConnection_Params, error)
- func (s RegistrationServer_registerConnection_Params) Auth() (TunnelAuth, error)
- func (s RegistrationServer_registerConnection_Params) ConnIndex() uint8
- func (s RegistrationServer_registerConnection_Params) HasAuth() bool
- func (s RegistrationServer_registerConnection_Params) HasOptions() bool
- func (s RegistrationServer_registerConnection_Params) HasTunnelId() bool
- func (s RegistrationServer_registerConnection_Params) NewAuth() (TunnelAuth, error)
- func (s RegistrationServer_registerConnection_Params) NewOptions() (ConnectionOptions, error)
- func (s RegistrationServer_registerConnection_Params) Options() (ConnectionOptions, error)
- func (s RegistrationServer_registerConnection_Params) SetAuth(v TunnelAuth) error
- func (s RegistrationServer_registerConnection_Params) SetConnIndex(v uint8)
- func (s RegistrationServer_registerConnection_Params) SetOptions(v ConnectionOptions) error
- func (s RegistrationServer_registerConnection_Params) SetTunnelId(v []byte) error
- func (s RegistrationServer_registerConnection_Params) String() string
- func (s RegistrationServer_registerConnection_Params) TunnelId() ([]byte, error)
- type RegistrationServer_registerConnection_Params_List
- func (s RegistrationServer_registerConnection_Params_List) At(i int) RegistrationServer_registerConnection_Params
- func (s RegistrationServer_registerConnection_Params_List) Set(i int, v RegistrationServer_registerConnection_Params) error
- func (s RegistrationServer_registerConnection_Params_List) String() string
- type RegistrationServer_registerConnection_Params_Promise
- func (p RegistrationServer_registerConnection_Params_Promise) Auth() TunnelAuth_Promise
- func (p RegistrationServer_registerConnection_Params_Promise) Options() ConnectionOptions_Promise
- func (p RegistrationServer_registerConnection_Params_Promise) Struct() (RegistrationServer_registerConnection_Params, error)
- type RegistrationServer_registerConnection_Results
- func NewRegistrationServer_registerConnection_Results(s *capnp.Segment) (RegistrationServer_registerConnection_Results, error)
- func NewRootRegistrationServer_registerConnection_Results(s *capnp.Segment) (RegistrationServer_registerConnection_Results, error)
- func ReadRootRegistrationServer_registerConnection_Results(msg *capnp.Message) (RegistrationServer_registerConnection_Results, error)
- func (s RegistrationServer_registerConnection_Results) HasResult() bool
- func (s RegistrationServer_registerConnection_Results) NewResult() (ConnectionResponse, error)
- func (s RegistrationServer_registerConnection_Results) Result() (ConnectionResponse, error)
- func (s RegistrationServer_registerConnection_Results) SetResult(v ConnectionResponse) error
- func (s RegistrationServer_registerConnection_Results) String() string
- type RegistrationServer_registerConnection_Results_List
- func (s RegistrationServer_registerConnection_Results_List) At(i int) RegistrationServer_registerConnection_Results
- func (s RegistrationServer_registerConnection_Results_List) Set(i int, v RegistrationServer_registerConnection_Results) error
- func (s RegistrationServer_registerConnection_Results_List) String() string
- type RegistrationServer_registerConnection_Results_Promise
- type RegistrationServer_unregisterConnection
- type RegistrationServer_unregisterConnection_Params
- func NewRegistrationServer_unregisterConnection_Params(s *capnp.Segment) (RegistrationServer_unregisterConnection_Params, error)
- func NewRootRegistrationServer_unregisterConnection_Params(s *capnp.Segment) (RegistrationServer_unregisterConnection_Params, error)
- func ReadRootRegistrationServer_unregisterConnection_Params(msg *capnp.Message) (RegistrationServer_unregisterConnection_Params, error)
- type RegistrationServer_unregisterConnection_Params_List
- func (s RegistrationServer_unregisterConnection_Params_List) At(i int) RegistrationServer_unregisterConnection_Params
- func (s RegistrationServer_unregisterConnection_Params_List) Set(i int, v RegistrationServer_unregisterConnection_Params) error
- func (s RegistrationServer_unregisterConnection_Params_List) String() string
- type RegistrationServer_unregisterConnection_Params_Promise
- type RegistrationServer_unregisterConnection_Results
- func NewRegistrationServer_unregisterConnection_Results(s *capnp.Segment) (RegistrationServer_unregisterConnection_Results, error)
- func NewRootRegistrationServer_unregisterConnection_Results(s *capnp.Segment) (RegistrationServer_unregisterConnection_Results, error)
- func ReadRootRegistrationServer_unregisterConnection_Results(msg *capnp.Message) (RegistrationServer_unregisterConnection_Results, error)
- type RegistrationServer_unregisterConnection_Results_List
- func (s RegistrationServer_unregisterConnection_Results_List) At(i int) RegistrationServer_unregisterConnection_Results
- func (s RegistrationServer_unregisterConnection_Results_List) Set(i int, v RegistrationServer_unregisterConnection_Results) error
- func (s RegistrationServer_unregisterConnection_Results_List) String() string
- type RegistrationServer_unregisterConnection_Results_Promise
- type RegistrationServer_updateLocalConfiguration
- type RegistrationServer_updateLocalConfiguration_Params
- func NewRegistrationServer_updateLocalConfiguration_Params(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Params, error)
- func NewRootRegistrationServer_updateLocalConfiguration_Params(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Params, error)
- func ReadRootRegistrationServer_updateLocalConfiguration_Params(msg *capnp.Message) (RegistrationServer_updateLocalConfiguration_Params, error)
- func (s RegistrationServer_updateLocalConfiguration_Params) Config() ([]byte, error)
- func (s RegistrationServer_updateLocalConfiguration_Params) HasConfig() bool
- func (s RegistrationServer_updateLocalConfiguration_Params) SetConfig(v []byte) error
- func (s RegistrationServer_updateLocalConfiguration_Params) String() string
- type RegistrationServer_updateLocalConfiguration_Params_List
- func (s RegistrationServer_updateLocalConfiguration_Params_List) At(i int) RegistrationServer_updateLocalConfiguration_Params
- func (s RegistrationServer_updateLocalConfiguration_Params_List) Set(i int, v RegistrationServer_updateLocalConfiguration_Params) error
- func (s RegistrationServer_updateLocalConfiguration_Params_List) String() string
- type RegistrationServer_updateLocalConfiguration_Params_Promise
- type RegistrationServer_updateLocalConfiguration_Results
- func NewRegistrationServer_updateLocalConfiguration_Results(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Results, error)
- func NewRootRegistrationServer_updateLocalConfiguration_Results(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Results, error)
- func ReadRootRegistrationServer_updateLocalConfiguration_Results(msg *capnp.Message) (RegistrationServer_updateLocalConfiguration_Results, error)
- type RegistrationServer_updateLocalConfiguration_Results_List
- func (s RegistrationServer_updateLocalConfiguration_Results_List) At(i int) RegistrationServer_updateLocalConfiguration_Results
- func (s RegistrationServer_updateLocalConfiguration_Results_List) Set(i int, v RegistrationServer_updateLocalConfiguration_Results) error
- func (s RegistrationServer_updateLocalConfiguration_Results_List) String() string
- type RegistrationServer_updateLocalConfiguration_Results_Promise
- type ServerInfo
- type ServerInfo_List
- type ServerInfo_Promise
- type SessionManager
- type SessionManager_Server
- type SessionManager_registerUdpSession
- type SessionManager_registerUdpSession_Params
- func NewRootSessionManager_registerUdpSession_Params(s *capnp.Segment) (SessionManager_registerUdpSession_Params, error)
- func NewSessionManager_registerUdpSession_Params(s *capnp.Segment) (SessionManager_registerUdpSession_Params, error)
- func ReadRootSessionManager_registerUdpSession_Params(msg *capnp.Message) (SessionManager_registerUdpSession_Params, error)
- func (s SessionManager_registerUdpSession_Params) CloseAfterIdleHint() int64
- func (s SessionManager_registerUdpSession_Params) DstIp() ([]byte, error)
- func (s SessionManager_registerUdpSession_Params) DstPort() uint16
- func (s SessionManager_registerUdpSession_Params) HasDstIp() bool
- func (s SessionManager_registerUdpSession_Params) HasSessionId() bool
- func (s SessionManager_registerUdpSession_Params) HasTraceContext() bool
- func (s SessionManager_registerUdpSession_Params) SessionId() ([]byte, error)
- func (s SessionManager_registerUdpSession_Params) SetCloseAfterIdleHint(v int64)
- func (s SessionManager_registerUdpSession_Params) SetDstIp(v []byte) error
- func (s SessionManager_registerUdpSession_Params) SetDstPort(v uint16)
- func (s SessionManager_registerUdpSession_Params) SetSessionId(v []byte) error
- func (s SessionManager_registerUdpSession_Params) SetTraceContext(v string) error
- func (s SessionManager_registerUdpSession_Params) String() string
- func (s SessionManager_registerUdpSession_Params) TraceContext() (string, error)
- func (s SessionManager_registerUdpSession_Params) TraceContextBytes() ([]byte, error)
- type SessionManager_registerUdpSession_Params_List
- type SessionManager_registerUdpSession_Params_Promise
- type SessionManager_registerUdpSession_Results
- func NewRootSessionManager_registerUdpSession_Results(s *capnp.Segment) (SessionManager_registerUdpSession_Results, error)
- func NewSessionManager_registerUdpSession_Results(s *capnp.Segment) (SessionManager_registerUdpSession_Results, error)
- func ReadRootSessionManager_registerUdpSession_Results(msg *capnp.Message) (SessionManager_registerUdpSession_Results, error)
- func (s SessionManager_registerUdpSession_Results) HasResult() bool
- func (s SessionManager_registerUdpSession_Results) NewResult() (RegisterUdpSessionResponse, error)
- func (s SessionManager_registerUdpSession_Results) Result() (RegisterUdpSessionResponse, error)
- func (s SessionManager_registerUdpSession_Results) SetResult(v RegisterUdpSessionResponse) error
- func (s SessionManager_registerUdpSession_Results) String() string
- type SessionManager_registerUdpSession_Results_List
- type SessionManager_registerUdpSession_Results_Promise
- type SessionManager_unregisterUdpSession
- type SessionManager_unregisterUdpSession_Params
- func NewRootSessionManager_unregisterUdpSession_Params(s *capnp.Segment) (SessionManager_unregisterUdpSession_Params, error)
- func NewSessionManager_unregisterUdpSession_Params(s *capnp.Segment) (SessionManager_unregisterUdpSession_Params, error)
- func ReadRootSessionManager_unregisterUdpSession_Params(msg *capnp.Message) (SessionManager_unregisterUdpSession_Params, error)
- func (s SessionManager_unregisterUdpSession_Params) HasMessage() bool
- func (s SessionManager_unregisterUdpSession_Params) HasSessionId() bool
- func (s SessionManager_unregisterUdpSession_Params) Message() (string, error)
- func (s SessionManager_unregisterUdpSession_Params) MessageBytes() ([]byte, error)
- func (s SessionManager_unregisterUdpSession_Params) SessionId() ([]byte, error)
- func (s SessionManager_unregisterUdpSession_Params) SetMessage(v string) error
- func (s SessionManager_unregisterUdpSession_Params) SetSessionId(v []byte) error
- func (s SessionManager_unregisterUdpSession_Params) String() string
- type SessionManager_unregisterUdpSession_Params_List
- func (s SessionManager_unregisterUdpSession_Params_List) At(i int) SessionManager_unregisterUdpSession_Params
- func (s SessionManager_unregisterUdpSession_Params_List) Set(i int, v SessionManager_unregisterUdpSession_Params) error
- func (s SessionManager_unregisterUdpSession_Params_List) String() string
- type SessionManager_unregisterUdpSession_Params_Promise
- type SessionManager_unregisterUdpSession_Results
- func NewRootSessionManager_unregisterUdpSession_Results(s *capnp.Segment) (SessionManager_unregisterUdpSession_Results, error)
- func NewSessionManager_unregisterUdpSession_Results(s *capnp.Segment) (SessionManager_unregisterUdpSession_Results, error)
- func ReadRootSessionManager_unregisterUdpSession_Results(msg *capnp.Message) (SessionManager_unregisterUdpSession_Results, error)
- type SessionManager_unregisterUdpSession_Results_List
- func (s SessionManager_unregisterUdpSession_Results_List) At(i int) SessionManager_unregisterUdpSession_Results
- func (s SessionManager_unregisterUdpSession_Results_List) Set(i int, v SessionManager_unregisterUdpSession_Results) error
- func (s SessionManager_unregisterUdpSession_Results_List) String() string
- type SessionManager_unregisterUdpSession_Results_Promise
- type Tag
- func (s Tag) HasName() bool
- func (s Tag) HasValue() bool
- func (s Tag) Name() (string, error)
- func (s Tag) NameBytes() ([]byte, error)
- func (s Tag) SetName(v string) error
- func (s Tag) SetValue(v string) error
- func (s Tag) String() string
- func (s Tag) Value() (string, error)
- func (s Tag) ValueBytes() ([]byte, error)
- type Tag_List
- type Tag_Promise
- type TunnelAuth
- func (s TunnelAuth) AccountTag() (string, error)
- func (s TunnelAuth) AccountTagBytes() ([]byte, error)
- func (s TunnelAuth) HasAccountTag() bool
- func (s TunnelAuth) HasTunnelSecret() bool
- func (s TunnelAuth) SetAccountTag(v string) error
- func (s TunnelAuth) SetTunnelSecret(v []byte) error
- func (s TunnelAuth) String() string
- func (s TunnelAuth) TunnelSecret() ([]byte, error)
- type TunnelAuth_List
- type TunnelAuth_Promise
- type TunnelRegistration
- func (s TunnelRegistration) ConnDigest() ([]byte, error)
- func (s TunnelRegistration) Err() (string, error)
- func (s TunnelRegistration) ErrBytes() ([]byte, error)
- func (s TunnelRegistration) EventDigest() ([]byte, error)
- func (s TunnelRegistration) HasConnDigest() bool
- func (s TunnelRegistration) HasErr() bool
- func (s TunnelRegistration) HasEventDigest() bool
- func (s TunnelRegistration) HasLogLines() bool
- func (s TunnelRegistration) HasTunnelID() bool
- func (s TunnelRegistration) HasUrl() bool
- func (s TunnelRegistration) LogLines() (capnp.TextList, error)
- func (s TunnelRegistration) NewLogLines(n int32) (capnp.TextList, error)
- func (s TunnelRegistration) PermanentFailure() bool
- func (s TunnelRegistration) RetryAfterSeconds() uint16
- func (s TunnelRegistration) SetConnDigest(v []byte) error
- func (s TunnelRegistration) SetErr(v string) error
- func (s TunnelRegistration) SetEventDigest(v []byte) error
- func (s TunnelRegistration) SetLogLines(v capnp.TextList) error
- func (s TunnelRegistration) SetPermanentFailure(v bool)
- func (s TunnelRegistration) SetRetryAfterSeconds(v uint16)
- func (s TunnelRegistration) SetTunnelID(v string) error
- func (s TunnelRegistration) SetUrl(v string) error
- func (s TunnelRegistration) String() string
- func (s TunnelRegistration) TunnelID() (string, error)
- func (s TunnelRegistration) TunnelIDBytes() ([]byte, error)
- func (s TunnelRegistration) Url() (string, error)
- func (s TunnelRegistration) UrlBytes() ([]byte, error)
- type TunnelRegistration_List
- type TunnelRegistration_Promise
- type TunnelServer
- func (c TunnelServer) Authenticate(ctx context.Context, params func(TunnelServer_authenticate_Params) error, ...) TunnelServer_authenticate_Results_Promise
- func (c TunnelServer) GetServerInfo(ctx context.Context, params func(TunnelServer_getServerInfo_Params) error, ...) TunnelServer_getServerInfo_Results_Promise
- func (c TunnelServer) ObsoleteDeclarativeTunnelConnect(ctx context.Context, ...) TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise
- func (c TunnelServer) ReconnectTunnel(ctx context.Context, params func(TunnelServer_reconnectTunnel_Params) error, ...) TunnelServer_reconnectTunnel_Results_Promise
- func (c TunnelServer) RegisterConnection(ctx context.Context, ...) RegistrationServer_registerConnection_Results_Promise
- func (c TunnelServer) RegisterTunnel(ctx context.Context, params func(TunnelServer_registerTunnel_Params) error, ...) TunnelServer_registerTunnel_Results_Promise
- func (c TunnelServer) UnregisterConnection(ctx context.Context, ...) RegistrationServer_unregisterConnection_Results_Promise
- func (c TunnelServer) UnregisterTunnel(ctx context.Context, params func(TunnelServer_unregisterTunnel_Params) error, ...) TunnelServer_unregisterTunnel_Results_Promise
- func (c TunnelServer) UpdateLocalConfiguration(ctx context.Context, ...) RegistrationServer_updateLocalConfiguration_Results_Promise
- type TunnelServer_Server
- type TunnelServer_authenticate
- type TunnelServer_authenticate_Params
- func NewRootTunnelServer_authenticate_Params(s *capnp.Segment) (TunnelServer_authenticate_Params, error)
- func NewTunnelServer_authenticate_Params(s *capnp.Segment) (TunnelServer_authenticate_Params, error)
- func ReadRootTunnelServer_authenticate_Params(msg *capnp.Message) (TunnelServer_authenticate_Params, error)
- func (s TunnelServer_authenticate_Params) HasHostname() bool
- func (s TunnelServer_authenticate_Params) HasOptions() bool
- func (s TunnelServer_authenticate_Params) HasOriginCert() bool
- func (s TunnelServer_authenticate_Params) Hostname() (string, error)
- func (s TunnelServer_authenticate_Params) HostnameBytes() ([]byte, error)
- func (s TunnelServer_authenticate_Params) NewOptions() (RegistrationOptions, error)
- func (s TunnelServer_authenticate_Params) Options() (RegistrationOptions, error)
- func (s TunnelServer_authenticate_Params) OriginCert() ([]byte, error)
- func (s TunnelServer_authenticate_Params) SetHostname(v string) error
- func (s TunnelServer_authenticate_Params) SetOptions(v RegistrationOptions) error
- func (s TunnelServer_authenticate_Params) SetOriginCert(v []byte) error
- func (s TunnelServer_authenticate_Params) String() string
- type TunnelServer_authenticate_Params_List
- type TunnelServer_authenticate_Params_Promise
- type TunnelServer_authenticate_Results
- func NewRootTunnelServer_authenticate_Results(s *capnp.Segment) (TunnelServer_authenticate_Results, error)
- func NewTunnelServer_authenticate_Results(s *capnp.Segment) (TunnelServer_authenticate_Results, error)
- func ReadRootTunnelServer_authenticate_Results(msg *capnp.Message) (TunnelServer_authenticate_Results, error)
- func (s TunnelServer_authenticate_Results) HasResult() bool
- func (s TunnelServer_authenticate_Results) NewResult() (AuthenticateResponse, error)
- func (s TunnelServer_authenticate_Results) Result() (AuthenticateResponse, error)
- func (s TunnelServer_authenticate_Results) SetResult(v AuthenticateResponse) error
- func (s TunnelServer_authenticate_Results) String() string
- type TunnelServer_authenticate_Results_List
- type TunnelServer_authenticate_Results_Promise
- type TunnelServer_getServerInfo
- type TunnelServer_getServerInfo_Params
- func NewRootTunnelServer_getServerInfo_Params(s *capnp.Segment) (TunnelServer_getServerInfo_Params, error)
- func NewTunnelServer_getServerInfo_Params(s *capnp.Segment) (TunnelServer_getServerInfo_Params, error)
- func ReadRootTunnelServer_getServerInfo_Params(msg *capnp.Message) (TunnelServer_getServerInfo_Params, error)
- type TunnelServer_getServerInfo_Params_List
- type TunnelServer_getServerInfo_Params_Promise
- type TunnelServer_getServerInfo_Results
- func NewRootTunnelServer_getServerInfo_Results(s *capnp.Segment) (TunnelServer_getServerInfo_Results, error)
- func NewTunnelServer_getServerInfo_Results(s *capnp.Segment) (TunnelServer_getServerInfo_Results, error)
- func ReadRootTunnelServer_getServerInfo_Results(msg *capnp.Message) (TunnelServer_getServerInfo_Results, error)
- func (s TunnelServer_getServerInfo_Results) HasResult() bool
- func (s TunnelServer_getServerInfo_Results) NewResult() (ServerInfo, error)
- func (s TunnelServer_getServerInfo_Results) Result() (ServerInfo, error)
- func (s TunnelServer_getServerInfo_Results) SetResult(v ServerInfo) error
- func (s TunnelServer_getServerInfo_Results) String() string
- type TunnelServer_getServerInfo_Results_List
- type TunnelServer_getServerInfo_Results_Promise
- type TunnelServer_obsoleteDeclarativeTunnelConnect
- type TunnelServer_obsoleteDeclarativeTunnelConnect_Params
- func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Params, error)
- func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Params, error)
- func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params(msg *capnp.Message) (TunnelServer_obsoleteDeclarativeTunnelConnect_Params, error)
- type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List
- func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List) At(i int) TunnelServer_obsoleteDeclarativeTunnelConnect_Params
- func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List) Set(i int, v TunnelServer_obsoleteDeclarativeTunnelConnect_Params) error
- func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List) String() string
- type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise
- type TunnelServer_obsoleteDeclarativeTunnelConnect_Results
- func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Results, error)
- func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Results, error)
- func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results(msg *capnp.Message) (TunnelServer_obsoleteDeclarativeTunnelConnect_Results, error)
- type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List
- func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List) At(i int) TunnelServer_obsoleteDeclarativeTunnelConnect_Results
- func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List) Set(i int, v TunnelServer_obsoleteDeclarativeTunnelConnect_Results) error
- func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List) String() string
- type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise
- type TunnelServer_reconnectTunnel
- type TunnelServer_reconnectTunnel_Params
- func NewRootTunnelServer_reconnectTunnel_Params(s *capnp.Segment) (TunnelServer_reconnectTunnel_Params, error)
- func NewTunnelServer_reconnectTunnel_Params(s *capnp.Segment) (TunnelServer_reconnectTunnel_Params, error)
- func ReadRootTunnelServer_reconnectTunnel_Params(msg *capnp.Message) (TunnelServer_reconnectTunnel_Params, error)
- func (s TunnelServer_reconnectTunnel_Params) ConnDigest() ([]byte, error)
- func (s TunnelServer_reconnectTunnel_Params) EventDigest() ([]byte, error)
- func (s TunnelServer_reconnectTunnel_Params) HasConnDigest() bool
- func (s TunnelServer_reconnectTunnel_Params) HasEventDigest() bool
- func (s TunnelServer_reconnectTunnel_Params) HasHostname() bool
- func (s TunnelServer_reconnectTunnel_Params) HasJwt() bool
- func (s TunnelServer_reconnectTunnel_Params) HasOptions() bool
- func (s TunnelServer_reconnectTunnel_Params) Hostname() (string, error)
- func (s TunnelServer_reconnectTunnel_Params) HostnameBytes() ([]byte, error)
- func (s TunnelServer_reconnectTunnel_Params) Jwt() ([]byte, error)
- func (s TunnelServer_reconnectTunnel_Params) NewOptions() (RegistrationOptions, error)
- func (s TunnelServer_reconnectTunnel_Params) Options() (RegistrationOptions, error)
- func (s TunnelServer_reconnectTunnel_Params) SetConnDigest(v []byte) error
- func (s TunnelServer_reconnectTunnel_Params) SetEventDigest(v []byte) error
- func (s TunnelServer_reconnectTunnel_Params) SetHostname(v string) error
- func (s TunnelServer_reconnectTunnel_Params) SetJwt(v []byte) error
- func (s TunnelServer_reconnectTunnel_Params) SetOptions(v RegistrationOptions) error
- func (s TunnelServer_reconnectTunnel_Params) String() string
- type TunnelServer_reconnectTunnel_Params_List
- type TunnelServer_reconnectTunnel_Params_Promise
- type TunnelServer_reconnectTunnel_Results
- func NewRootTunnelServer_reconnectTunnel_Results(s *capnp.Segment) (TunnelServer_reconnectTunnel_Results, error)
- func NewTunnelServer_reconnectTunnel_Results(s *capnp.Segment) (TunnelServer_reconnectTunnel_Results, error)
- func ReadRootTunnelServer_reconnectTunnel_Results(msg *capnp.Message) (TunnelServer_reconnectTunnel_Results, error)
- func (s TunnelServer_reconnectTunnel_Results) HasResult() bool
- func (s TunnelServer_reconnectTunnel_Results) NewResult() (TunnelRegistration, error)
- func (s TunnelServer_reconnectTunnel_Results) Result() (TunnelRegistration, error)
- func (s TunnelServer_reconnectTunnel_Results) SetResult(v TunnelRegistration) error
- func (s TunnelServer_reconnectTunnel_Results) String() string
- type TunnelServer_reconnectTunnel_Results_List
- type TunnelServer_reconnectTunnel_Results_Promise
- type TunnelServer_registerTunnel
- type TunnelServer_registerTunnel_Params
- func NewRootTunnelServer_registerTunnel_Params(s *capnp.Segment) (TunnelServer_registerTunnel_Params, error)
- func NewTunnelServer_registerTunnel_Params(s *capnp.Segment) (TunnelServer_registerTunnel_Params, error)
- func ReadRootTunnelServer_registerTunnel_Params(msg *capnp.Message) (TunnelServer_registerTunnel_Params, error)
- func (s TunnelServer_registerTunnel_Params) HasHostname() bool
- func (s TunnelServer_registerTunnel_Params) HasOptions() bool
- func (s TunnelServer_registerTunnel_Params) HasOriginCert() bool
- func (s TunnelServer_registerTunnel_Params) Hostname() (string, error)
- func (s TunnelServer_registerTunnel_Params) HostnameBytes() ([]byte, error)
- func (s TunnelServer_registerTunnel_Params) NewOptions() (RegistrationOptions, error)
- func (s TunnelServer_registerTunnel_Params) Options() (RegistrationOptions, error)
- func (s TunnelServer_registerTunnel_Params) OriginCert() ([]byte, error)
- func (s TunnelServer_registerTunnel_Params) SetHostname(v string) error
- func (s TunnelServer_registerTunnel_Params) SetOptions(v RegistrationOptions) error
- func (s TunnelServer_registerTunnel_Params) SetOriginCert(v []byte) error
- func (s TunnelServer_registerTunnel_Params) String() string
- type TunnelServer_registerTunnel_Params_List
- type TunnelServer_registerTunnel_Params_Promise
- type TunnelServer_registerTunnel_Results
- func NewRootTunnelServer_registerTunnel_Results(s *capnp.Segment) (TunnelServer_registerTunnel_Results, error)
- func NewTunnelServer_registerTunnel_Results(s *capnp.Segment) (TunnelServer_registerTunnel_Results, error)
- func ReadRootTunnelServer_registerTunnel_Results(msg *capnp.Message) (TunnelServer_registerTunnel_Results, error)
- func (s TunnelServer_registerTunnel_Results) HasResult() bool
- func (s TunnelServer_registerTunnel_Results) NewResult() (TunnelRegistration, error)
- func (s TunnelServer_registerTunnel_Results) Result() (TunnelRegistration, error)
- func (s TunnelServer_registerTunnel_Results) SetResult(v TunnelRegistration) error
- func (s TunnelServer_registerTunnel_Results) String() string
- type TunnelServer_registerTunnel_Results_List
- type TunnelServer_registerTunnel_Results_Promise
- type TunnelServer_unregisterTunnel
- type TunnelServer_unregisterTunnel_Params
- func NewRootTunnelServer_unregisterTunnel_Params(s *capnp.Segment) (TunnelServer_unregisterTunnel_Params, error)
- func NewTunnelServer_unregisterTunnel_Params(s *capnp.Segment) (TunnelServer_unregisterTunnel_Params, error)
- func ReadRootTunnelServer_unregisterTunnel_Params(msg *capnp.Message) (TunnelServer_unregisterTunnel_Params, error)
- type TunnelServer_unregisterTunnel_Params_List
- type TunnelServer_unregisterTunnel_Params_Promise
- type TunnelServer_unregisterTunnel_Results
- func NewRootTunnelServer_unregisterTunnel_Results(s *capnp.Segment) (TunnelServer_unregisterTunnel_Results, error)
- func NewTunnelServer_unregisterTunnel_Results(s *capnp.Segment) (TunnelServer_unregisterTunnel_Results, error)
- func ReadRootTunnelServer_unregisterTunnel_Results(msg *capnp.Message) (TunnelServer_unregisterTunnel_Results, error)
- type TunnelServer_unregisterTunnel_Results_List
- type TunnelServer_unregisterTunnel_Results_Promise
- type UpdateConfigurationResponse
- func (s UpdateConfigurationResponse) Err() (string, error)
- func (s UpdateConfigurationResponse) ErrBytes() ([]byte, error)
- func (s UpdateConfigurationResponse) HasErr() bool
- func (s UpdateConfigurationResponse) LatestAppliedVersion() int32
- func (s UpdateConfigurationResponse) SetErr(v string) error
- func (s UpdateConfigurationResponse) SetLatestAppliedVersion(v int32)
- func (s UpdateConfigurationResponse) String() string
- type UpdateConfigurationResponse_List
- type UpdateConfigurationResponse_Promise
Constants ¶
const AuthenticateResponse_TypeID = 0x82c325a07ad22a65
AuthenticateResponse_TypeID is the unique identifier for the type AuthenticateResponse.
const Authentication_TypeID = 0xc082ef6e0d42ed1d
Authentication_TypeID is the unique identifier for the type Authentication.
const ClientInfo_TypeID = 0x83ced0145b2f114b
ClientInfo_TypeID is the unique identifier for the type ClientInfo.
const CloudflaredServer_TypeID = 0xf548cef9dea2a4a1
CloudflaredServer_TypeID is the unique identifier for the type CloudflaredServer.
const ConfigurationManager_TypeID = 0xb48edfbdaa25db04
ConfigurationManager_TypeID is the unique identifier for the type ConfigurationManager.
const ConfigurationManager_updateConfiguration_Params_TypeID = 0xb177ca2526a3ca76
ConfigurationManager_updateConfiguration_Params_TypeID is the unique identifier for the type ConfigurationManager_updateConfiguration_Params.
const ConfigurationManager_updateConfiguration_Results_TypeID = 0x958096448eb3373e
ConfigurationManager_updateConfiguration_Results_TypeID is the unique identifier for the type ConfigurationManager_updateConfiguration_Results.
const ConnectionDetails_TypeID = 0xb5f39f082b9ac18a
ConnectionDetails_TypeID is the unique identifier for the type ConnectionDetails.
const ConnectionError_TypeID = 0xf5f383d2785edb86
ConnectionError_TypeID is the unique identifier for the type ConnectionError.
const ConnectionOptions_TypeID = 0xb4bf9861fe035d04
ConnectionOptions_TypeID is the unique identifier for the type ConnectionOptions.
const ConnectionResponse_TypeID = 0xdbaa9d03d52b62dc
ConnectionResponse_TypeID is the unique identifier for the type ConnectionResponse.
const ExistingTunnelPolicy_TypeID = 0x84cb9536a2cf6d3c
ExistingTunnelPolicy_TypeID is the unique identifier for the type ExistingTunnelPolicy.
const RegisterUdpSessionResponse_TypeID = 0xab6d5210c1f26687
RegisterUdpSessionResponse_TypeID is the unique identifier for the type RegisterUdpSessionResponse.
const RegistrationOptions_TypeID = 0xc793e50592935b4a
RegistrationOptions_TypeID is the unique identifier for the type RegistrationOptions.
const RegistrationServer_TypeID = 0xf71695ec7fe85497
RegistrationServer_TypeID is the unique identifier for the type RegistrationServer.
const RegistrationServer_registerConnection_Params_TypeID = 0xe6646dec8feaa6ee
RegistrationServer_registerConnection_Params_TypeID is the unique identifier for the type RegistrationServer_registerConnection_Params.
const RegistrationServer_registerConnection_Results_TypeID = 0xea50d822450d1f17
RegistrationServer_registerConnection_Results_TypeID is the unique identifier for the type RegistrationServer_registerConnection_Results.
const RegistrationServer_unregisterConnection_Params_TypeID = 0xf9cb7f4431a307d0
RegistrationServer_unregisterConnection_Params_TypeID is the unique identifier for the type RegistrationServer_unregisterConnection_Params.
const RegistrationServer_unregisterConnection_Results_TypeID = 0xb046e578094b1ead
RegistrationServer_unregisterConnection_Results_TypeID is the unique identifier for the type RegistrationServer_unregisterConnection_Results.
const RegistrationServer_updateLocalConfiguration_Params_TypeID = 0xc5d6e311876a3604
RegistrationServer_updateLocalConfiguration_Params_TypeID is the unique identifier for the type RegistrationServer_updateLocalConfiguration_Params.
const RegistrationServer_updateLocalConfiguration_Results_TypeID = 0xe5ceae5d6897d7be
RegistrationServer_updateLocalConfiguration_Results_TypeID is the unique identifier for the type RegistrationServer_updateLocalConfiguration_Results.
const ServerInfo_TypeID = 0xf2c68e2547ec3866
ServerInfo_TypeID is the unique identifier for the type ServerInfo.
const SessionManager_TypeID = 0x839445a59fb01686
SessionManager_TypeID is the unique identifier for the type SessionManager.
const SessionManager_registerUdpSession_Params_TypeID = 0x904e297b87fbecea
SessionManager_registerUdpSession_Params_TypeID is the unique identifier for the type SessionManager_registerUdpSession_Params.
const SessionManager_registerUdpSession_Results_TypeID = 0x8635c6b4f45bf5cd
SessionManager_registerUdpSession_Results_TypeID is the unique identifier for the type SessionManager_registerUdpSession_Results.
const SessionManager_unregisterUdpSession_Params_TypeID = 0x96b74375ce9b0ef6
SessionManager_unregisterUdpSession_Params_TypeID is the unique identifier for the type SessionManager_unregisterUdpSession_Params.
const SessionManager_unregisterUdpSession_Results_TypeID = 0xf24ec4ab5891b676
SessionManager_unregisterUdpSession_Results_TypeID is the unique identifier for the type SessionManager_unregisterUdpSession_Results.
const Tag_TypeID = 0xcbd96442ae3bb01a
Tag_TypeID is the unique identifier for the type Tag.
const TunnelAuth_TypeID = 0x9496331ab9cd463f
TunnelAuth_TypeID is the unique identifier for the type TunnelAuth.
const TunnelRegistration_TypeID = 0xf41a0f001ad49e46
TunnelRegistration_TypeID is the unique identifier for the type TunnelRegistration.
const TunnelServer_TypeID = 0xea58385c65416035
TunnelServer_TypeID is the unique identifier for the type TunnelServer.
const TunnelServer_authenticate_Params_TypeID = 0x85c8cea1ab1894f3
TunnelServer_authenticate_Params_TypeID is the unique identifier for the type TunnelServer_authenticate_Params.
const TunnelServer_authenticate_Results_TypeID = 0xfc5edf80e39c0796
TunnelServer_authenticate_Results_TypeID is the unique identifier for the type TunnelServer_authenticate_Results.
const TunnelServer_getServerInfo_Params_TypeID = 0xdc3ed6801961e502
TunnelServer_getServerInfo_Params_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Params.
const TunnelServer_getServerInfo_Results_TypeID = 0xe3e37d096a5b564e
TunnelServer_getServerInfo_Results_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Results.
const TunnelServer_obsoleteDeclarativeTunnelConnect_Params_TypeID = 0xa766b24d4fe5da35
TunnelServer_obsoleteDeclarativeTunnelConnect_Params_TypeID is the unique identifier for the type TunnelServer_obsoleteDeclarativeTunnelConnect_Params.
const TunnelServer_obsoleteDeclarativeTunnelConnect_Results_TypeID = 0xfeac5c8f4899ef7c
TunnelServer_obsoleteDeclarativeTunnelConnect_Results_TypeID is the unique identifier for the type TunnelServer_obsoleteDeclarativeTunnelConnect_Results.
const TunnelServer_reconnectTunnel_Params_TypeID = 0xa353a3556df74984
TunnelServer_reconnectTunnel_Params_TypeID is the unique identifier for the type TunnelServer_reconnectTunnel_Params.
const TunnelServer_reconnectTunnel_Results_TypeID = 0xd4d18de97bb12de3
TunnelServer_reconnectTunnel_Results_TypeID is the unique identifier for the type TunnelServer_reconnectTunnel_Results.
const TunnelServer_registerTunnel_Params_TypeID = 0xb70431c0dc014915
TunnelServer_registerTunnel_Params_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Params.
const TunnelServer_registerTunnel_Results_TypeID = 0xf2c122394f447e8e
TunnelServer_registerTunnel_Results_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Results.
const TunnelServer_unregisterTunnel_Params_TypeID = 0x9b87b390babc2ccf
TunnelServer_unregisterTunnel_Params_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Params.
const TunnelServer_unregisterTunnel_Results_TypeID = 0xa29a916d4ebdd894
TunnelServer_unregisterTunnel_Results_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Results.
const UpdateConfigurationResponse_TypeID = 0xdb58ff694ba05cf9
UpdateConfigurationResponse_TypeID is the unique identifier for the type UpdateConfigurationResponse.
Variables ¶
This section is empty.
Functions ¶
func CloudflaredServer_Methods ¶
func CloudflaredServer_Methods(methods []server.Method, s CloudflaredServer_Server) []server.Method
func ConfigurationManager_Methods ¶
func ConfigurationManager_Methods(methods []server.Method, s ConfigurationManager_Server) []server.Method
func NewTransportLogger ¶
NewTransportLogger creates a new logger that proxies messages to and from t and logs them to log. If log is nil, then the log package's default logger is used.
func RegistrationServer_Methods ¶
func RegistrationServer_Methods(methods []server.Method, s RegistrationServer_Server) []server.Method
func SessionManager_Methods ¶
func SessionManager_Methods(methods []server.Method, s SessionManager_Server) []server.Method
func TunnelServer_Methods ¶
func TunnelServer_Methods(methods []server.Method, s TunnelServer_Server) []server.Method
Types ¶
type AuthenticateResponse ¶
func NewAuthenticateResponse ¶
func NewAuthenticateResponse(s *capnp.Segment) (AuthenticateResponse, error)
func NewRootAuthenticateResponse ¶
func NewRootAuthenticateResponse(s *capnp.Segment) (AuthenticateResponse, error)
func ReadRootAuthenticateResponse ¶
func ReadRootAuthenticateResponse(msg *capnp.Message) (AuthenticateResponse, error)
func (AuthenticateResponse) HasJwt ¶
func (s AuthenticateResponse) HasJwt() bool
func (AuthenticateResponse) HasPermanentErr ¶
func (s AuthenticateResponse) HasPermanentErr() bool
func (AuthenticateResponse) HasRetryableErr ¶
func (s AuthenticateResponse) HasRetryableErr() bool
func (AuthenticateResponse) HoursUntilRefresh ¶
func (s AuthenticateResponse) HoursUntilRefresh() uint8
func (AuthenticateResponse) Jwt ¶
func (s AuthenticateResponse) Jwt() ([]byte, error)
func (AuthenticateResponse) PermanentErr ¶
func (s AuthenticateResponse) PermanentErr() (string, error)
func (AuthenticateResponse) PermanentErrBytes ¶
func (s AuthenticateResponse) PermanentErrBytes() ([]byte, error)
func (AuthenticateResponse) RetryableErr ¶
func (s AuthenticateResponse) RetryableErr() (string, error)
func (AuthenticateResponse) RetryableErrBytes ¶
func (s AuthenticateResponse) RetryableErrBytes() ([]byte, error)
func (AuthenticateResponse) SetHoursUntilRefresh ¶
func (s AuthenticateResponse) SetHoursUntilRefresh(v uint8)
func (AuthenticateResponse) SetJwt ¶
func (s AuthenticateResponse) SetJwt(v []byte) error
func (AuthenticateResponse) SetPermanentErr ¶
func (s AuthenticateResponse) SetPermanentErr(v string) error
func (AuthenticateResponse) SetRetryableErr ¶
func (s AuthenticateResponse) SetRetryableErr(v string) error
func (AuthenticateResponse) String ¶
func (s AuthenticateResponse) String() string
type AuthenticateResponse_List ¶
AuthenticateResponse_List is a list of AuthenticateResponse.
func NewAuthenticateResponse_List ¶
func NewAuthenticateResponse_List(s *capnp.Segment, sz int32) (AuthenticateResponse_List, error)
NewAuthenticateResponse creates a new list of AuthenticateResponse.
func (AuthenticateResponse_List) At ¶
func (s AuthenticateResponse_List) At(i int) AuthenticateResponse
func (AuthenticateResponse_List) Set ¶
func (s AuthenticateResponse_List) Set(i int, v AuthenticateResponse) error
func (AuthenticateResponse_List) String ¶
func (s AuthenticateResponse_List) String() string
type AuthenticateResponse_Promise ¶
AuthenticateResponse_Promise is a wrapper for a AuthenticateResponse promised by a client call.
func (AuthenticateResponse_Promise) Struct ¶
func (p AuthenticateResponse_Promise) Struct() (AuthenticateResponse, error)
type Authentication ¶
func NewAuthentication ¶
func NewAuthentication(s *capnp.Segment) (Authentication, error)
func NewRootAuthentication ¶
func NewRootAuthentication(s *capnp.Segment) (Authentication, error)
func ReadRootAuthentication ¶
func ReadRootAuthentication(msg *capnp.Message) (Authentication, error)
func (Authentication) Email ¶
func (s Authentication) Email() (string, error)
func (Authentication) EmailBytes ¶
func (s Authentication) EmailBytes() ([]byte, error)
func (Authentication) HasEmail ¶
func (s Authentication) HasEmail() bool
func (Authentication) HasKey ¶
func (s Authentication) HasKey() bool
func (Authentication) HasOriginCAKey ¶
func (s Authentication) HasOriginCAKey() bool
func (Authentication) Key ¶
func (s Authentication) Key() (string, error)
func (Authentication) KeyBytes ¶
func (s Authentication) KeyBytes() ([]byte, error)
func (Authentication) OriginCAKey ¶
func (s Authentication) OriginCAKey() (string, error)
func (Authentication) OriginCAKeyBytes ¶
func (s Authentication) OriginCAKeyBytes() ([]byte, error)
func (Authentication) SetEmail ¶
func (s Authentication) SetEmail(v string) error
func (Authentication) SetKey ¶
func (s Authentication) SetKey(v string) error
func (Authentication) SetOriginCAKey ¶
func (s Authentication) SetOriginCAKey(v string) error
func (Authentication) String ¶
func (s Authentication) String() string
type Authentication_List ¶
Authentication_List is a list of Authentication.
func NewAuthentication_List ¶
func NewAuthentication_List(s *capnp.Segment, sz int32) (Authentication_List, error)
NewAuthentication creates a new list of Authentication.
func (Authentication_List) At ¶
func (s Authentication_List) At(i int) Authentication
func (Authentication_List) Set ¶
func (s Authentication_List) Set(i int, v Authentication) error
func (Authentication_List) String ¶
func (s Authentication_List) String() string
type Authentication_Promise ¶
Authentication_Promise is a wrapper for a Authentication promised by a client call.
func (Authentication_Promise) Struct ¶
func (p Authentication_Promise) Struct() (Authentication, error)
type ClientInfo ¶
func NewClientInfo ¶
func NewClientInfo(s *capnp.Segment) (ClientInfo, error)
func NewRootClientInfo ¶
func NewRootClientInfo(s *capnp.Segment) (ClientInfo, error)
func ReadRootClientInfo ¶
func ReadRootClientInfo(msg *capnp.Message) (ClientInfo, error)
func (ClientInfo) Arch ¶
func (s ClientInfo) Arch() (string, error)
func (ClientInfo) ArchBytes ¶
func (s ClientInfo) ArchBytes() ([]byte, error)
func (ClientInfo) ClientId ¶
func (s ClientInfo) ClientId() ([]byte, error)
func (ClientInfo) HasArch ¶
func (s ClientInfo) HasArch() bool
func (ClientInfo) HasClientId ¶
func (s ClientInfo) HasClientId() bool
func (ClientInfo) HasFeatures ¶
func (s ClientInfo) HasFeatures() bool
func (ClientInfo) HasVersion ¶
func (s ClientInfo) HasVersion() bool
func (ClientInfo) NewFeatures ¶
func (s ClientInfo) NewFeatures(n int32) (capnp.TextList, error)
NewFeatures sets the features field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (ClientInfo) SetArch ¶
func (s ClientInfo) SetArch(v string) error
func (ClientInfo) SetClientId ¶
func (s ClientInfo) SetClientId(v []byte) error
func (ClientInfo) SetFeatures ¶
func (s ClientInfo) SetFeatures(v capnp.TextList) error
func (ClientInfo) SetVersion ¶
func (s ClientInfo) SetVersion(v string) error
func (ClientInfo) String ¶
func (s ClientInfo) String() string
func (ClientInfo) Version ¶
func (s ClientInfo) Version() (string, error)
func (ClientInfo) VersionBytes ¶
func (s ClientInfo) VersionBytes() ([]byte, error)
type ClientInfo_List ¶
ClientInfo_List is a list of ClientInfo.
func NewClientInfo_List ¶
func NewClientInfo_List(s *capnp.Segment, sz int32) (ClientInfo_List, error)
NewClientInfo creates a new list of ClientInfo.
func (ClientInfo_List) At ¶
func (s ClientInfo_List) At(i int) ClientInfo
func (ClientInfo_List) Set ¶
func (s ClientInfo_List) Set(i int, v ClientInfo) error
func (ClientInfo_List) String ¶
func (s ClientInfo_List) String() string
type ClientInfo_Promise ¶
ClientInfo_Promise is a wrapper for a ClientInfo promised by a client call.
func (ClientInfo_Promise) Struct ¶
func (p ClientInfo_Promise) Struct() (ClientInfo, error)
type CloudflaredServer ¶
func CloudflaredServer_ServerToClient ¶
func CloudflaredServer_ServerToClient(s CloudflaredServer_Server) CloudflaredServer
func (CloudflaredServer) RegisterUdpSession ¶
func (c CloudflaredServer) RegisterUdpSession(ctx context.Context, params func(SessionManager_registerUdpSession_Params) error, opts ...capnp.CallOption) SessionManager_registerUdpSession_Results_Promise
func (CloudflaredServer) UnregisterUdpSession ¶
func (c CloudflaredServer) UnregisterUdpSession(ctx context.Context, params func(SessionManager_unregisterUdpSession_Params) error, opts ...capnp.CallOption) SessionManager_unregisterUdpSession_Results_Promise
func (CloudflaredServer) UpdateConfiguration ¶
func (c CloudflaredServer) UpdateConfiguration(ctx context.Context, params func(ConfigurationManager_updateConfiguration_Params) error, opts ...capnp.CallOption) ConfigurationManager_updateConfiguration_Results_Promise
type CloudflaredServer_Server ¶
type CloudflaredServer_Server interface { RegisterUdpSession(SessionManager_registerUdpSession) error UnregisterUdpSession(SessionManager_unregisterUdpSession) error UpdateConfiguration(ConfigurationManager_updateConfiguration) error }
type ConfigurationManager ¶
func ConfigurationManager_ServerToClient ¶
func ConfigurationManager_ServerToClient(s ConfigurationManager_Server) ConfigurationManager
func (ConfigurationManager) UpdateConfiguration ¶
func (c ConfigurationManager) UpdateConfiguration(ctx context.Context, params func(ConfigurationManager_updateConfiguration_Params) error, opts ...capnp.CallOption) ConfigurationManager_updateConfiguration_Results_Promise
type ConfigurationManager_Server ¶
type ConfigurationManager_Server interface {
UpdateConfiguration(ConfigurationManager_updateConfiguration) error
}
type ConfigurationManager_updateConfiguration ¶
type ConfigurationManager_updateConfiguration struct { Ctx context.Context Options capnp.CallOptions Params ConfigurationManager_updateConfiguration_Params Results ConfigurationManager_updateConfiguration_Results }
ConfigurationManager_updateConfiguration holds the arguments for a server call to ConfigurationManager.updateConfiguration.
type ConfigurationManager_updateConfiguration_Params ¶
func NewConfigurationManager_updateConfiguration_Params ¶
func NewConfigurationManager_updateConfiguration_Params(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Params, error)
func NewRootConfigurationManager_updateConfiguration_Params ¶
func NewRootConfigurationManager_updateConfiguration_Params(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Params, error)
func ReadRootConfigurationManager_updateConfiguration_Params ¶
func ReadRootConfigurationManager_updateConfiguration_Params(msg *capnp.Message) (ConfigurationManager_updateConfiguration_Params, error)
func (ConfigurationManager_updateConfiguration_Params) Config ¶
func (s ConfigurationManager_updateConfiguration_Params) Config() ([]byte, error)
func (ConfigurationManager_updateConfiguration_Params) HasConfig ¶
func (s ConfigurationManager_updateConfiguration_Params) HasConfig() bool
func (ConfigurationManager_updateConfiguration_Params) SetConfig ¶
func (s ConfigurationManager_updateConfiguration_Params) SetConfig(v []byte) error
func (ConfigurationManager_updateConfiguration_Params) SetVersion ¶
func (s ConfigurationManager_updateConfiguration_Params) SetVersion(v int32)
func (ConfigurationManager_updateConfiguration_Params) String ¶
func (s ConfigurationManager_updateConfiguration_Params) String() string
func (ConfigurationManager_updateConfiguration_Params) Version ¶
func (s ConfigurationManager_updateConfiguration_Params) Version() int32
type ConfigurationManager_updateConfiguration_Params_List ¶
ConfigurationManager_updateConfiguration_Params_List is a list of ConfigurationManager_updateConfiguration_Params.
func NewConfigurationManager_updateConfiguration_Params_List ¶
func NewConfigurationManager_updateConfiguration_Params_List(s *capnp.Segment, sz int32) (ConfigurationManager_updateConfiguration_Params_List, error)
NewConfigurationManager_updateConfiguration_Params creates a new list of ConfigurationManager_updateConfiguration_Params.
func (ConfigurationManager_updateConfiguration_Params_List) String ¶
func (s ConfigurationManager_updateConfiguration_Params_List) String() string
type ConfigurationManager_updateConfiguration_Params_Promise ¶
ConfigurationManager_updateConfiguration_Params_Promise is a wrapper for a ConfigurationManager_updateConfiguration_Params promised by a client call.
type ConfigurationManager_updateConfiguration_Results ¶
func NewConfigurationManager_updateConfiguration_Results ¶
func NewConfigurationManager_updateConfiguration_Results(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Results, error)
func NewRootConfigurationManager_updateConfiguration_Results ¶
func NewRootConfigurationManager_updateConfiguration_Results(s *capnp.Segment) (ConfigurationManager_updateConfiguration_Results, error)
func ReadRootConfigurationManager_updateConfiguration_Results ¶
func ReadRootConfigurationManager_updateConfiguration_Results(msg *capnp.Message) (ConfigurationManager_updateConfiguration_Results, error)
func (ConfigurationManager_updateConfiguration_Results) HasResult ¶
func (s ConfigurationManager_updateConfiguration_Results) HasResult() bool
func (ConfigurationManager_updateConfiguration_Results) NewResult ¶
func (s ConfigurationManager_updateConfiguration_Results) NewResult() (UpdateConfigurationResponse, error)
NewResult sets the result field to a newly allocated UpdateConfigurationResponse struct, preferring placement in s's segment.
func (ConfigurationManager_updateConfiguration_Results) Result ¶
func (s ConfigurationManager_updateConfiguration_Results) Result() (UpdateConfigurationResponse, error)
func (ConfigurationManager_updateConfiguration_Results) SetResult ¶
func (s ConfigurationManager_updateConfiguration_Results) SetResult(v UpdateConfigurationResponse) error
func (ConfigurationManager_updateConfiguration_Results) String ¶
func (s ConfigurationManager_updateConfiguration_Results) String() string
type ConfigurationManager_updateConfiguration_Results_List ¶
ConfigurationManager_updateConfiguration_Results_List is a list of ConfigurationManager_updateConfiguration_Results.
func NewConfigurationManager_updateConfiguration_Results_List ¶
func NewConfigurationManager_updateConfiguration_Results_List(s *capnp.Segment, sz int32) (ConfigurationManager_updateConfiguration_Results_List, error)
NewConfigurationManager_updateConfiguration_Results creates a new list of ConfigurationManager_updateConfiguration_Results.
func (ConfigurationManager_updateConfiguration_Results_List) String ¶
func (s ConfigurationManager_updateConfiguration_Results_List) String() string
type ConfigurationManager_updateConfiguration_Results_Promise ¶
ConfigurationManager_updateConfiguration_Results_Promise is a wrapper for a ConfigurationManager_updateConfiguration_Results promised by a client call.
type ConnLogger ¶
ConnLogger wraps a Zerolog Logger for a connection.
type ConnTracer ¶
ConnTracer wraps a trace.EventLog for a connection.
type ConnectionDetails ¶
func NewConnectionDetails ¶
func NewConnectionDetails(s *capnp.Segment) (ConnectionDetails, error)
func NewRootConnectionDetails ¶
func NewRootConnectionDetails(s *capnp.Segment) (ConnectionDetails, error)
func ReadRootConnectionDetails ¶
func ReadRootConnectionDetails(msg *capnp.Message) (ConnectionDetails, error)
func (ConnectionDetails) HasLocationName ¶
func (s ConnectionDetails) HasLocationName() bool
func (ConnectionDetails) HasUuid ¶
func (s ConnectionDetails) HasUuid() bool
func (ConnectionDetails) LocationName ¶
func (s ConnectionDetails) LocationName() (string, error)
func (ConnectionDetails) LocationNameBytes ¶
func (s ConnectionDetails) LocationNameBytes() ([]byte, error)
func (ConnectionDetails) SetLocationName ¶
func (s ConnectionDetails) SetLocationName(v string) error
func (ConnectionDetails) SetTunnelIsRemotelyManaged ¶
func (s ConnectionDetails) SetTunnelIsRemotelyManaged(v bool)
func (ConnectionDetails) SetUuid ¶
func (s ConnectionDetails) SetUuid(v []byte) error
func (ConnectionDetails) String ¶
func (s ConnectionDetails) String() string
func (ConnectionDetails) TunnelIsRemotelyManaged ¶
func (s ConnectionDetails) TunnelIsRemotelyManaged() bool
func (ConnectionDetails) Uuid ¶
func (s ConnectionDetails) Uuid() ([]byte, error)
type ConnectionDetails_List ¶
ConnectionDetails_List is a list of ConnectionDetails.
func NewConnectionDetails_List ¶
func NewConnectionDetails_List(s *capnp.Segment, sz int32) (ConnectionDetails_List, error)
NewConnectionDetails creates a new list of ConnectionDetails.
func (ConnectionDetails_List) At ¶
func (s ConnectionDetails_List) At(i int) ConnectionDetails
func (ConnectionDetails_List) Set ¶
func (s ConnectionDetails_List) Set(i int, v ConnectionDetails) error
func (ConnectionDetails_List) String ¶
func (s ConnectionDetails_List) String() string
type ConnectionDetails_Promise ¶
ConnectionDetails_Promise is a wrapper for a ConnectionDetails promised by a client call.
func (ConnectionDetails_Promise) Struct ¶
func (p ConnectionDetails_Promise) Struct() (ConnectionDetails, error)
type ConnectionError ¶
func NewConnectionError ¶
func NewConnectionError(s *capnp.Segment) (ConnectionError, error)
func NewRootConnectionError ¶
func NewRootConnectionError(s *capnp.Segment) (ConnectionError, error)
func ReadRootConnectionError ¶
func ReadRootConnectionError(msg *capnp.Message) (ConnectionError, error)
func (ConnectionError) Cause ¶
func (s ConnectionError) Cause() (string, error)
func (ConnectionError) CauseBytes ¶
func (s ConnectionError) CauseBytes() ([]byte, error)
func (ConnectionError) HasCause ¶
func (s ConnectionError) HasCause() bool
func (ConnectionError) RetryAfter ¶
func (s ConnectionError) RetryAfter() int64
func (ConnectionError) SetCause ¶
func (s ConnectionError) SetCause(v string) error
func (ConnectionError) SetRetryAfter ¶
func (s ConnectionError) SetRetryAfter(v int64)
func (ConnectionError) SetShouldRetry ¶
func (s ConnectionError) SetShouldRetry(v bool)
func (ConnectionError) ShouldRetry ¶
func (s ConnectionError) ShouldRetry() bool
func (ConnectionError) String ¶
func (s ConnectionError) String() string
type ConnectionError_List ¶
ConnectionError_List is a list of ConnectionError.
func NewConnectionError_List ¶
func NewConnectionError_List(s *capnp.Segment, sz int32) (ConnectionError_List, error)
NewConnectionError creates a new list of ConnectionError.
func (ConnectionError_List) At ¶
func (s ConnectionError_List) At(i int) ConnectionError
func (ConnectionError_List) Set ¶
func (s ConnectionError_List) Set(i int, v ConnectionError) error
func (ConnectionError_List) String ¶
func (s ConnectionError_List) String() string
type ConnectionError_Promise ¶
ConnectionError_Promise is a wrapper for a ConnectionError promised by a client call.
func (ConnectionError_Promise) Struct ¶
func (p ConnectionError_Promise) Struct() (ConnectionError, error)
type ConnectionOptions ¶
func NewConnectionOptions ¶
func NewConnectionOptions(s *capnp.Segment) (ConnectionOptions, error)
func NewRootConnectionOptions ¶
func NewRootConnectionOptions(s *capnp.Segment) (ConnectionOptions, error)
func ReadRootConnectionOptions ¶
func ReadRootConnectionOptions(msg *capnp.Message) (ConnectionOptions, error)
func (ConnectionOptions) Client ¶
func (s ConnectionOptions) Client() (ClientInfo, error)
func (ConnectionOptions) CompressionQuality ¶
func (s ConnectionOptions) CompressionQuality() uint8
func (ConnectionOptions) HasClient ¶
func (s ConnectionOptions) HasClient() bool
func (ConnectionOptions) HasOriginLocalIp ¶
func (s ConnectionOptions) HasOriginLocalIp() bool
func (ConnectionOptions) NewClient ¶
func (s ConnectionOptions) NewClient() (ClientInfo, error)
NewClient sets the client field to a newly allocated ClientInfo struct, preferring placement in s's segment.
func (ConnectionOptions) NumPreviousAttempts ¶
func (s ConnectionOptions) NumPreviousAttempts() uint8
func (ConnectionOptions) OriginLocalIp ¶
func (s ConnectionOptions) OriginLocalIp() ([]byte, error)
func (ConnectionOptions) ReplaceExisting ¶
func (s ConnectionOptions) ReplaceExisting() bool
func (ConnectionOptions) SetClient ¶
func (s ConnectionOptions) SetClient(v ClientInfo) error
func (ConnectionOptions) SetCompressionQuality ¶
func (s ConnectionOptions) SetCompressionQuality(v uint8)
func (ConnectionOptions) SetNumPreviousAttempts ¶
func (s ConnectionOptions) SetNumPreviousAttempts(v uint8)
func (ConnectionOptions) SetOriginLocalIp ¶
func (s ConnectionOptions) SetOriginLocalIp(v []byte) error
func (ConnectionOptions) SetReplaceExisting ¶
func (s ConnectionOptions) SetReplaceExisting(v bool)
func (ConnectionOptions) String ¶
func (s ConnectionOptions) String() string
type ConnectionOptions_List ¶
ConnectionOptions_List is a list of ConnectionOptions.
func NewConnectionOptions_List ¶
func NewConnectionOptions_List(s *capnp.Segment, sz int32) (ConnectionOptions_List, error)
NewConnectionOptions creates a new list of ConnectionOptions.
func (ConnectionOptions_List) At ¶
func (s ConnectionOptions_List) At(i int) ConnectionOptions
func (ConnectionOptions_List) Set ¶
func (s ConnectionOptions_List) Set(i int, v ConnectionOptions) error
func (ConnectionOptions_List) String ¶
func (s ConnectionOptions_List) String() string
type ConnectionOptions_Promise ¶
ConnectionOptions_Promise is a wrapper for a ConnectionOptions promised by a client call.
func (ConnectionOptions_Promise) Client ¶
func (p ConnectionOptions_Promise) Client() ClientInfo_Promise
func (ConnectionOptions_Promise) Struct ¶
func (p ConnectionOptions_Promise) Struct() (ConnectionOptions, error)
type ConnectionResponse ¶
func NewConnectionResponse ¶
func NewConnectionResponse(s *capnp.Segment) (ConnectionResponse, error)
func NewRootConnectionResponse ¶
func NewRootConnectionResponse(s *capnp.Segment) (ConnectionResponse, error)
func ReadRootConnectionResponse ¶
func ReadRootConnectionResponse(msg *capnp.Message) (ConnectionResponse, error)
func (ConnectionResponse) Result ¶
func (s ConnectionResponse) Result() ConnectionResponse_result
func (ConnectionResponse) String ¶
func (s ConnectionResponse) String() string
type ConnectionResponse_List ¶
ConnectionResponse_List is a list of ConnectionResponse.
func NewConnectionResponse_List ¶
func NewConnectionResponse_List(s *capnp.Segment, sz int32) (ConnectionResponse_List, error)
NewConnectionResponse creates a new list of ConnectionResponse.
func (ConnectionResponse_List) At ¶
func (s ConnectionResponse_List) At(i int) ConnectionResponse
func (ConnectionResponse_List) Set ¶
func (s ConnectionResponse_List) Set(i int, v ConnectionResponse) error
func (ConnectionResponse_List) String ¶
func (s ConnectionResponse_List) String() string
type ConnectionResponse_Promise ¶
ConnectionResponse_Promise is a wrapper for a ConnectionResponse promised by a client call.
func (ConnectionResponse_Promise) Result ¶
func (p ConnectionResponse_Promise) Result() ConnectionResponse_result_Promise
func (ConnectionResponse_Promise) Struct ¶
func (p ConnectionResponse_Promise) Struct() (ConnectionResponse, error)
type ConnectionResponse_result ¶
type ConnectionResponse_result ConnectionResponse
func (ConnectionResponse_result) ConnectionDetails ¶
func (s ConnectionResponse_result) ConnectionDetails() (ConnectionDetails, error)
func (ConnectionResponse_result) Error ¶
func (s ConnectionResponse_result) Error() (ConnectionError, error)
func (ConnectionResponse_result) HasConnectionDetails ¶
func (s ConnectionResponse_result) HasConnectionDetails() bool
func (ConnectionResponse_result) HasError ¶
func (s ConnectionResponse_result) HasError() bool
func (ConnectionResponse_result) NewConnectionDetails ¶
func (s ConnectionResponse_result) NewConnectionDetails() (ConnectionDetails, error)
NewConnectionDetails sets the connectionDetails field to a newly allocated ConnectionDetails struct, preferring placement in s's segment.
func (ConnectionResponse_result) NewError ¶
func (s ConnectionResponse_result) NewError() (ConnectionError, error)
NewError sets the error field to a newly allocated ConnectionError struct, preferring placement in s's segment.
func (ConnectionResponse_result) SetConnectionDetails ¶
func (s ConnectionResponse_result) SetConnectionDetails(v ConnectionDetails) error
func (ConnectionResponse_result) SetError ¶
func (s ConnectionResponse_result) SetError(v ConnectionError) error
func (ConnectionResponse_result) Which ¶
func (s ConnectionResponse_result) Which() ConnectionResponse_result_Which
type ConnectionResponse_result_Promise ¶
ConnectionResponse_result_Promise is a wrapper for a ConnectionResponse_result promised by a client call.
func (ConnectionResponse_result_Promise) ConnectionDetails ¶
func (p ConnectionResponse_result_Promise) ConnectionDetails() ConnectionDetails_Promise
func (ConnectionResponse_result_Promise) Error ¶
func (p ConnectionResponse_result_Promise) Error() ConnectionError_Promise
func (ConnectionResponse_result_Promise) Struct ¶
func (p ConnectionResponse_result_Promise) Struct() (ConnectionResponse_result, error)
type ConnectionResponse_result_Which ¶
type ConnectionResponse_result_Which uint16
const ( ConnectionResponse_result_Which_error ConnectionResponse_result_Which = 0 ConnectionResponse_result_Which_connectionDetails ConnectionResponse_result_Which = 1 )
func (ConnectionResponse_result_Which) String ¶
func (w ConnectionResponse_result_Which) String() string
type ExistingTunnelPolicy ¶
type ExistingTunnelPolicy uint16
const ( ExistingTunnelPolicy_ignore ExistingTunnelPolicy = 0 ExistingTunnelPolicy_disconnect ExistingTunnelPolicy = 1 ExistingTunnelPolicy_balance ExistingTunnelPolicy = 2 )
Values of ExistingTunnelPolicy.
func ExistingTunnelPolicyFromString ¶
func ExistingTunnelPolicyFromString(c string) ExistingTunnelPolicy
ExistingTunnelPolicyFromString returns the enum value with a name, or the zero value if there's no such value.
func (ExistingTunnelPolicy) String ¶
func (c ExistingTunnelPolicy) String() string
String returns the enum's constant name.
type ExistingTunnelPolicy_List ¶
func NewExistingTunnelPolicy_List ¶
func NewExistingTunnelPolicy_List(s *capnp.Segment, sz int32) (ExistingTunnelPolicy_List, error)
func (ExistingTunnelPolicy_List) At ¶
func (l ExistingTunnelPolicy_List) At(i int) ExistingTunnelPolicy
func (ExistingTunnelPolicy_List) Set ¶
func (l ExistingTunnelPolicy_List) Set(i int, v ExistingTunnelPolicy)
type RegisterUdpSessionResponse ¶
func NewRegisterUdpSessionResponse ¶
func NewRegisterUdpSessionResponse(s *capnp.Segment) (RegisterUdpSessionResponse, error)
func NewRootRegisterUdpSessionResponse ¶
func NewRootRegisterUdpSessionResponse(s *capnp.Segment) (RegisterUdpSessionResponse, error)
func ReadRootRegisterUdpSessionResponse ¶
func ReadRootRegisterUdpSessionResponse(msg *capnp.Message) (RegisterUdpSessionResponse, error)
func (RegisterUdpSessionResponse) Err ¶
func (s RegisterUdpSessionResponse) Err() (string, error)
func (RegisterUdpSessionResponse) ErrBytes ¶
func (s RegisterUdpSessionResponse) ErrBytes() ([]byte, error)
func (RegisterUdpSessionResponse) HasErr ¶
func (s RegisterUdpSessionResponse) HasErr() bool
func (RegisterUdpSessionResponse) HasSpans ¶
func (s RegisterUdpSessionResponse) HasSpans() bool
func (RegisterUdpSessionResponse) SetErr ¶
func (s RegisterUdpSessionResponse) SetErr(v string) error
func (RegisterUdpSessionResponse) SetSpans ¶
func (s RegisterUdpSessionResponse) SetSpans(v []byte) error
func (RegisterUdpSessionResponse) Spans ¶
func (s RegisterUdpSessionResponse) Spans() ([]byte, error)
func (RegisterUdpSessionResponse) String ¶
func (s RegisterUdpSessionResponse) String() string
type RegisterUdpSessionResponse_List ¶
RegisterUdpSessionResponse_List is a list of RegisterUdpSessionResponse.
func NewRegisterUdpSessionResponse_List ¶
func NewRegisterUdpSessionResponse_List(s *capnp.Segment, sz int32) (RegisterUdpSessionResponse_List, error)
NewRegisterUdpSessionResponse creates a new list of RegisterUdpSessionResponse.
func (RegisterUdpSessionResponse_List) At ¶
func (s RegisterUdpSessionResponse_List) At(i int) RegisterUdpSessionResponse
func (RegisterUdpSessionResponse_List) Set ¶
func (s RegisterUdpSessionResponse_List) Set(i int, v RegisterUdpSessionResponse) error
func (RegisterUdpSessionResponse_List) String ¶
func (s RegisterUdpSessionResponse_List) String() string
type RegisterUdpSessionResponse_Promise ¶
RegisterUdpSessionResponse_Promise is a wrapper for a RegisterUdpSessionResponse promised by a client call.
func (RegisterUdpSessionResponse_Promise) Struct ¶
func (p RegisterUdpSessionResponse_Promise) Struct() (RegisterUdpSessionResponse, error)
type RegistrationOptions ¶
func NewRegistrationOptions ¶
func NewRegistrationOptions(s *capnp.Segment) (RegistrationOptions, error)
func NewRootRegistrationOptions ¶
func NewRootRegistrationOptions(s *capnp.Segment) (RegistrationOptions, error)
func ReadRootRegistrationOptions ¶
func ReadRootRegistrationOptions(msg *capnp.Message) (RegistrationOptions, error)
func (RegistrationOptions) ClientId ¶
func (s RegistrationOptions) ClientId() (string, error)
func (RegistrationOptions) ClientIdBytes ¶
func (s RegistrationOptions) ClientIdBytes() ([]byte, error)
func (RegistrationOptions) CompressionQuality ¶
func (s RegistrationOptions) CompressionQuality() uint64
func (RegistrationOptions) ConnectionId ¶
func (s RegistrationOptions) ConnectionId() uint8
func (RegistrationOptions) ExistingTunnelPolicy ¶
func (s RegistrationOptions) ExistingTunnelPolicy() ExistingTunnelPolicy
func (RegistrationOptions) Features ¶
func (s RegistrationOptions) Features() (capnp.TextList, error)
func (RegistrationOptions) HasClientId ¶
func (s RegistrationOptions) HasClientId() bool
func (RegistrationOptions) HasFeatures ¶
func (s RegistrationOptions) HasFeatures() bool
func (RegistrationOptions) HasOriginLocalIp ¶
func (s RegistrationOptions) HasOriginLocalIp() bool
func (RegistrationOptions) HasOs ¶
func (s RegistrationOptions) HasOs() bool
func (RegistrationOptions) HasPoolName ¶
func (s RegistrationOptions) HasPoolName() bool
func (RegistrationOptions) HasTags ¶
func (s RegistrationOptions) HasTags() bool
func (RegistrationOptions) HasUuid ¶
func (s RegistrationOptions) HasUuid() bool
func (RegistrationOptions) HasVersion ¶
func (s RegistrationOptions) HasVersion() bool
func (RegistrationOptions) IsAutoupdated ¶
func (s RegistrationOptions) IsAutoupdated() bool
func (RegistrationOptions) NewFeatures ¶
func (s RegistrationOptions) NewFeatures(n int32) (capnp.TextList, error)
NewFeatures sets the features field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (RegistrationOptions) NewTags ¶
func (s RegistrationOptions) NewTags(n int32) (Tag_List, error)
NewTags sets the tags field to a newly allocated Tag_List, preferring placement in s's segment.
func (RegistrationOptions) NumPreviousAttempts ¶
func (s RegistrationOptions) NumPreviousAttempts() uint8
func (RegistrationOptions) OriginLocalIp ¶
func (s RegistrationOptions) OriginLocalIp() (string, error)
func (RegistrationOptions) OriginLocalIpBytes ¶
func (s RegistrationOptions) OriginLocalIpBytes() ([]byte, error)
func (RegistrationOptions) Os ¶
func (s RegistrationOptions) Os() (string, error)
func (RegistrationOptions) OsBytes ¶
func (s RegistrationOptions) OsBytes() ([]byte, error)
func (RegistrationOptions) PoolName ¶
func (s RegistrationOptions) PoolName() (string, error)
func (RegistrationOptions) PoolNameBytes ¶
func (s RegistrationOptions) PoolNameBytes() ([]byte, error)
func (RegistrationOptions) RunFromTerminal ¶
func (s RegistrationOptions) RunFromTerminal() bool
func (RegistrationOptions) SetClientId ¶
func (s RegistrationOptions) SetClientId(v string) error
func (RegistrationOptions) SetCompressionQuality ¶
func (s RegistrationOptions) SetCompressionQuality(v uint64)
func (RegistrationOptions) SetConnectionId ¶
func (s RegistrationOptions) SetConnectionId(v uint8)
func (RegistrationOptions) SetExistingTunnelPolicy ¶
func (s RegistrationOptions) SetExistingTunnelPolicy(v ExistingTunnelPolicy)
func (RegistrationOptions) SetFeatures ¶
func (s RegistrationOptions) SetFeatures(v capnp.TextList) error
func (RegistrationOptions) SetIsAutoupdated ¶
func (s RegistrationOptions) SetIsAutoupdated(v bool)
func (RegistrationOptions) SetNumPreviousAttempts ¶
func (s RegistrationOptions) SetNumPreviousAttempts(v uint8)
func (RegistrationOptions) SetOriginLocalIp ¶
func (s RegistrationOptions) SetOriginLocalIp(v string) error
func (RegistrationOptions) SetOs ¶
func (s RegistrationOptions) SetOs(v string) error
func (RegistrationOptions) SetPoolName ¶
func (s RegistrationOptions) SetPoolName(v string) error
func (RegistrationOptions) SetRunFromTerminal ¶
func (s RegistrationOptions) SetRunFromTerminal(v bool)
func (RegistrationOptions) SetTags ¶
func (s RegistrationOptions) SetTags(v Tag_List) error
func (RegistrationOptions) SetUuid ¶
func (s RegistrationOptions) SetUuid(v string) error
func (RegistrationOptions) SetVersion ¶
func (s RegistrationOptions) SetVersion(v string) error
func (RegistrationOptions) String ¶
func (s RegistrationOptions) String() string
func (RegistrationOptions) Tags ¶
func (s RegistrationOptions) Tags() (Tag_List, error)
func (RegistrationOptions) Uuid ¶
func (s RegistrationOptions) Uuid() (string, error)
func (RegistrationOptions) UuidBytes ¶
func (s RegistrationOptions) UuidBytes() ([]byte, error)
func (RegistrationOptions) Version ¶
func (s RegistrationOptions) Version() (string, error)
func (RegistrationOptions) VersionBytes ¶
func (s RegistrationOptions) VersionBytes() ([]byte, error)
type RegistrationOptions_List ¶
RegistrationOptions_List is a list of RegistrationOptions.
func NewRegistrationOptions_List ¶
func NewRegistrationOptions_List(s *capnp.Segment, sz int32) (RegistrationOptions_List, error)
NewRegistrationOptions creates a new list of RegistrationOptions.
func (RegistrationOptions_List) At ¶
func (s RegistrationOptions_List) At(i int) RegistrationOptions
func (RegistrationOptions_List) Set ¶
func (s RegistrationOptions_List) Set(i int, v RegistrationOptions) error
func (RegistrationOptions_List) String ¶
func (s RegistrationOptions_List) String() string
type RegistrationOptions_Promise ¶
RegistrationOptions_Promise is a wrapper for a RegistrationOptions promised by a client call.
func (RegistrationOptions_Promise) Struct ¶
func (p RegistrationOptions_Promise) Struct() (RegistrationOptions, error)
type RegistrationServer ¶
func RegistrationServer_ServerToClient ¶
func RegistrationServer_ServerToClient(s RegistrationServer_Server) RegistrationServer
func (RegistrationServer) RegisterConnection ¶
func (c RegistrationServer) RegisterConnection(ctx context.Context, params func(RegistrationServer_registerConnection_Params) error, opts ...capnp.CallOption) RegistrationServer_registerConnection_Results_Promise
func (RegistrationServer) UnregisterConnection ¶
func (c RegistrationServer) UnregisterConnection(ctx context.Context, params func(RegistrationServer_unregisterConnection_Params) error, opts ...capnp.CallOption) RegistrationServer_unregisterConnection_Results_Promise
func (RegistrationServer) UpdateLocalConfiguration ¶
func (c RegistrationServer) UpdateLocalConfiguration(ctx context.Context, params func(RegistrationServer_updateLocalConfiguration_Params) error, opts ...capnp.CallOption) RegistrationServer_updateLocalConfiguration_Results_Promise
type RegistrationServer_Server ¶
type RegistrationServer_Server interface { RegisterConnection(RegistrationServer_registerConnection) error UnregisterConnection(RegistrationServer_unregisterConnection) error UpdateLocalConfiguration(RegistrationServer_updateLocalConfiguration) error }
type RegistrationServer_registerConnection ¶
type RegistrationServer_registerConnection struct { Ctx context.Context Options capnp.CallOptions Params RegistrationServer_registerConnection_Params Results RegistrationServer_registerConnection_Results }
RegistrationServer_registerConnection holds the arguments for a server call to RegistrationServer.registerConnection.
type RegistrationServer_registerConnection_Params ¶
func NewRegistrationServer_registerConnection_Params ¶
func NewRegistrationServer_registerConnection_Params(s *capnp.Segment) (RegistrationServer_registerConnection_Params, error)
func NewRootRegistrationServer_registerConnection_Params ¶
func NewRootRegistrationServer_registerConnection_Params(s *capnp.Segment) (RegistrationServer_registerConnection_Params, error)
func ReadRootRegistrationServer_registerConnection_Params ¶
func ReadRootRegistrationServer_registerConnection_Params(msg *capnp.Message) (RegistrationServer_registerConnection_Params, error)
func (RegistrationServer_registerConnection_Params) Auth ¶
func (s RegistrationServer_registerConnection_Params) Auth() (TunnelAuth, error)
func (RegistrationServer_registerConnection_Params) ConnIndex ¶
func (s RegistrationServer_registerConnection_Params) ConnIndex() uint8
func (RegistrationServer_registerConnection_Params) HasAuth ¶
func (s RegistrationServer_registerConnection_Params) HasAuth() bool
func (RegistrationServer_registerConnection_Params) HasOptions ¶
func (s RegistrationServer_registerConnection_Params) HasOptions() bool
func (RegistrationServer_registerConnection_Params) HasTunnelId ¶
func (s RegistrationServer_registerConnection_Params) HasTunnelId() bool
func (RegistrationServer_registerConnection_Params) NewAuth ¶
func (s RegistrationServer_registerConnection_Params) NewAuth() (TunnelAuth, error)
NewAuth sets the auth field to a newly allocated TunnelAuth struct, preferring placement in s's segment.
func (RegistrationServer_registerConnection_Params) NewOptions ¶
func (s RegistrationServer_registerConnection_Params) NewOptions() (ConnectionOptions, error)
NewOptions sets the options field to a newly allocated ConnectionOptions struct, preferring placement in s's segment.
func (RegistrationServer_registerConnection_Params) Options ¶
func (s RegistrationServer_registerConnection_Params) Options() (ConnectionOptions, error)
func (RegistrationServer_registerConnection_Params) SetAuth ¶
func (s RegistrationServer_registerConnection_Params) SetAuth(v TunnelAuth) error
func (RegistrationServer_registerConnection_Params) SetConnIndex ¶
func (s RegistrationServer_registerConnection_Params) SetConnIndex(v uint8)
func (RegistrationServer_registerConnection_Params) SetOptions ¶
func (s RegistrationServer_registerConnection_Params) SetOptions(v ConnectionOptions) error
func (RegistrationServer_registerConnection_Params) SetTunnelId ¶
func (s RegistrationServer_registerConnection_Params) SetTunnelId(v []byte) error
func (RegistrationServer_registerConnection_Params) String ¶
func (s RegistrationServer_registerConnection_Params) String() string
func (RegistrationServer_registerConnection_Params) TunnelId ¶
func (s RegistrationServer_registerConnection_Params) TunnelId() ([]byte, error)
type RegistrationServer_registerConnection_Params_List ¶
RegistrationServer_registerConnection_Params_List is a list of RegistrationServer_registerConnection_Params.
func NewRegistrationServer_registerConnection_Params_List ¶
func NewRegistrationServer_registerConnection_Params_List(s *capnp.Segment, sz int32) (RegistrationServer_registerConnection_Params_List, error)
NewRegistrationServer_registerConnection_Params creates a new list of RegistrationServer_registerConnection_Params.
func (RegistrationServer_registerConnection_Params_List) String ¶
func (s RegistrationServer_registerConnection_Params_List) String() string
type RegistrationServer_registerConnection_Params_Promise ¶
RegistrationServer_registerConnection_Params_Promise is a wrapper for a RegistrationServer_registerConnection_Params promised by a client call.
func (RegistrationServer_registerConnection_Params_Promise) Options ¶
func (p RegistrationServer_registerConnection_Params_Promise) Options() ConnectionOptions_Promise
type RegistrationServer_registerConnection_Results ¶
func NewRegistrationServer_registerConnection_Results ¶
func NewRegistrationServer_registerConnection_Results(s *capnp.Segment) (RegistrationServer_registerConnection_Results, error)
func NewRootRegistrationServer_registerConnection_Results ¶
func NewRootRegistrationServer_registerConnection_Results(s *capnp.Segment) (RegistrationServer_registerConnection_Results, error)
func ReadRootRegistrationServer_registerConnection_Results ¶
func ReadRootRegistrationServer_registerConnection_Results(msg *capnp.Message) (RegistrationServer_registerConnection_Results, error)
func (RegistrationServer_registerConnection_Results) HasResult ¶
func (s RegistrationServer_registerConnection_Results) HasResult() bool
func (RegistrationServer_registerConnection_Results) NewResult ¶
func (s RegistrationServer_registerConnection_Results) NewResult() (ConnectionResponse, error)
NewResult sets the result field to a newly allocated ConnectionResponse struct, preferring placement in s's segment.
func (RegistrationServer_registerConnection_Results) Result ¶
func (s RegistrationServer_registerConnection_Results) Result() (ConnectionResponse, error)
func (RegistrationServer_registerConnection_Results) SetResult ¶
func (s RegistrationServer_registerConnection_Results) SetResult(v ConnectionResponse) error
func (RegistrationServer_registerConnection_Results) String ¶
func (s RegistrationServer_registerConnection_Results) String() string
type RegistrationServer_registerConnection_Results_List ¶
RegistrationServer_registerConnection_Results_List is a list of RegistrationServer_registerConnection_Results.
func NewRegistrationServer_registerConnection_Results_List ¶
func NewRegistrationServer_registerConnection_Results_List(s *capnp.Segment, sz int32) (RegistrationServer_registerConnection_Results_List, error)
NewRegistrationServer_registerConnection_Results creates a new list of RegistrationServer_registerConnection_Results.
func (RegistrationServer_registerConnection_Results_List) String ¶
func (s RegistrationServer_registerConnection_Results_List) String() string
type RegistrationServer_registerConnection_Results_Promise ¶
RegistrationServer_registerConnection_Results_Promise is a wrapper for a RegistrationServer_registerConnection_Results promised by a client call.
type RegistrationServer_unregisterConnection ¶
type RegistrationServer_unregisterConnection struct { Ctx context.Context Options capnp.CallOptions Params RegistrationServer_unregisterConnection_Params Results RegistrationServer_unregisterConnection_Results }
RegistrationServer_unregisterConnection holds the arguments for a server call to RegistrationServer.unregisterConnection.
type RegistrationServer_unregisterConnection_Params ¶
func NewRegistrationServer_unregisterConnection_Params ¶
func NewRegistrationServer_unregisterConnection_Params(s *capnp.Segment) (RegistrationServer_unregisterConnection_Params, error)
func NewRootRegistrationServer_unregisterConnection_Params ¶
func NewRootRegistrationServer_unregisterConnection_Params(s *capnp.Segment) (RegistrationServer_unregisterConnection_Params, error)
func ReadRootRegistrationServer_unregisterConnection_Params ¶
func ReadRootRegistrationServer_unregisterConnection_Params(msg *capnp.Message) (RegistrationServer_unregisterConnection_Params, error)
func (RegistrationServer_unregisterConnection_Params) String ¶
func (s RegistrationServer_unregisterConnection_Params) String() string
type RegistrationServer_unregisterConnection_Params_List ¶
RegistrationServer_unregisterConnection_Params_List is a list of RegistrationServer_unregisterConnection_Params.
func NewRegistrationServer_unregisterConnection_Params_List ¶
func NewRegistrationServer_unregisterConnection_Params_List(s *capnp.Segment, sz int32) (RegistrationServer_unregisterConnection_Params_List, error)
NewRegistrationServer_unregisterConnection_Params creates a new list of RegistrationServer_unregisterConnection_Params.
func (RegistrationServer_unregisterConnection_Params_List) String ¶
func (s RegistrationServer_unregisterConnection_Params_List) String() string
type RegistrationServer_unregisterConnection_Params_Promise ¶
RegistrationServer_unregisterConnection_Params_Promise is a wrapper for a RegistrationServer_unregisterConnection_Params promised by a client call.
type RegistrationServer_unregisterConnection_Results ¶
func NewRegistrationServer_unregisterConnection_Results ¶
func NewRegistrationServer_unregisterConnection_Results(s *capnp.Segment) (RegistrationServer_unregisterConnection_Results, error)
func NewRootRegistrationServer_unregisterConnection_Results ¶
func NewRootRegistrationServer_unregisterConnection_Results(s *capnp.Segment) (RegistrationServer_unregisterConnection_Results, error)
func ReadRootRegistrationServer_unregisterConnection_Results ¶
func ReadRootRegistrationServer_unregisterConnection_Results(msg *capnp.Message) (RegistrationServer_unregisterConnection_Results, error)
func (RegistrationServer_unregisterConnection_Results) String ¶
func (s RegistrationServer_unregisterConnection_Results) String() string
type RegistrationServer_unregisterConnection_Results_List ¶
RegistrationServer_unregisterConnection_Results_List is a list of RegistrationServer_unregisterConnection_Results.
func NewRegistrationServer_unregisterConnection_Results_List ¶
func NewRegistrationServer_unregisterConnection_Results_List(s *capnp.Segment, sz int32) (RegistrationServer_unregisterConnection_Results_List, error)
NewRegistrationServer_unregisterConnection_Results creates a new list of RegistrationServer_unregisterConnection_Results.
func (RegistrationServer_unregisterConnection_Results_List) String ¶
func (s RegistrationServer_unregisterConnection_Results_List) String() string
type RegistrationServer_unregisterConnection_Results_Promise ¶
RegistrationServer_unregisterConnection_Results_Promise is a wrapper for a RegistrationServer_unregisterConnection_Results promised by a client call.
type RegistrationServer_updateLocalConfiguration ¶
type RegistrationServer_updateLocalConfiguration struct { Ctx context.Context Options capnp.CallOptions Params RegistrationServer_updateLocalConfiguration_Params Results RegistrationServer_updateLocalConfiguration_Results }
RegistrationServer_updateLocalConfiguration holds the arguments for a server call to RegistrationServer.updateLocalConfiguration.
type RegistrationServer_updateLocalConfiguration_Params ¶
func NewRegistrationServer_updateLocalConfiguration_Params ¶
func NewRegistrationServer_updateLocalConfiguration_Params(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Params, error)
func NewRootRegistrationServer_updateLocalConfiguration_Params ¶
func NewRootRegistrationServer_updateLocalConfiguration_Params(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Params, error)
func ReadRootRegistrationServer_updateLocalConfiguration_Params ¶
func ReadRootRegistrationServer_updateLocalConfiguration_Params(msg *capnp.Message) (RegistrationServer_updateLocalConfiguration_Params, error)
func (RegistrationServer_updateLocalConfiguration_Params) Config ¶
func (s RegistrationServer_updateLocalConfiguration_Params) Config() ([]byte, error)
func (RegistrationServer_updateLocalConfiguration_Params) HasConfig ¶
func (s RegistrationServer_updateLocalConfiguration_Params) HasConfig() bool
func (RegistrationServer_updateLocalConfiguration_Params) SetConfig ¶
func (s RegistrationServer_updateLocalConfiguration_Params) SetConfig(v []byte) error
func (RegistrationServer_updateLocalConfiguration_Params) String ¶
func (s RegistrationServer_updateLocalConfiguration_Params) String() string
type RegistrationServer_updateLocalConfiguration_Params_List ¶
RegistrationServer_updateLocalConfiguration_Params_List is a list of RegistrationServer_updateLocalConfiguration_Params.
func NewRegistrationServer_updateLocalConfiguration_Params_List ¶
func NewRegistrationServer_updateLocalConfiguration_Params_List(s *capnp.Segment, sz int32) (RegistrationServer_updateLocalConfiguration_Params_List, error)
NewRegistrationServer_updateLocalConfiguration_Params creates a new list of RegistrationServer_updateLocalConfiguration_Params.
func (RegistrationServer_updateLocalConfiguration_Params_List) String ¶
func (s RegistrationServer_updateLocalConfiguration_Params_List) String() string
type RegistrationServer_updateLocalConfiguration_Params_Promise ¶
RegistrationServer_updateLocalConfiguration_Params_Promise is a wrapper for a RegistrationServer_updateLocalConfiguration_Params promised by a client call.
type RegistrationServer_updateLocalConfiguration_Results ¶
func NewRegistrationServer_updateLocalConfiguration_Results ¶
func NewRegistrationServer_updateLocalConfiguration_Results(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Results, error)
func NewRootRegistrationServer_updateLocalConfiguration_Results ¶
func NewRootRegistrationServer_updateLocalConfiguration_Results(s *capnp.Segment) (RegistrationServer_updateLocalConfiguration_Results, error)
func ReadRootRegistrationServer_updateLocalConfiguration_Results ¶
func ReadRootRegistrationServer_updateLocalConfiguration_Results(msg *capnp.Message) (RegistrationServer_updateLocalConfiguration_Results, error)
func (RegistrationServer_updateLocalConfiguration_Results) String ¶
func (s RegistrationServer_updateLocalConfiguration_Results) String() string
type RegistrationServer_updateLocalConfiguration_Results_List ¶
RegistrationServer_updateLocalConfiguration_Results_List is a list of RegistrationServer_updateLocalConfiguration_Results.
func NewRegistrationServer_updateLocalConfiguration_Results_List ¶
func NewRegistrationServer_updateLocalConfiguration_Results_List(s *capnp.Segment, sz int32) (RegistrationServer_updateLocalConfiguration_Results_List, error)
NewRegistrationServer_updateLocalConfiguration_Results creates a new list of RegistrationServer_updateLocalConfiguration_Results.
func (RegistrationServer_updateLocalConfiguration_Results_List) String ¶
func (s RegistrationServer_updateLocalConfiguration_Results_List) String() string
type RegistrationServer_updateLocalConfiguration_Results_Promise ¶
RegistrationServer_updateLocalConfiguration_Results_Promise is a wrapper for a RegistrationServer_updateLocalConfiguration_Results promised by a client call.
type ServerInfo ¶
func NewRootServerInfo ¶
func NewRootServerInfo(s *capnp.Segment) (ServerInfo, error)
func NewServerInfo ¶
func NewServerInfo(s *capnp.Segment) (ServerInfo, error)
func ReadRootServerInfo ¶
func ReadRootServerInfo(msg *capnp.Message) (ServerInfo, error)
func (ServerInfo) HasLocationName ¶
func (s ServerInfo) HasLocationName() bool
func (ServerInfo) LocationName ¶
func (s ServerInfo) LocationName() (string, error)
func (ServerInfo) LocationNameBytes ¶
func (s ServerInfo) LocationNameBytes() ([]byte, error)
func (ServerInfo) SetLocationName ¶
func (s ServerInfo) SetLocationName(v string) error
func (ServerInfo) String ¶
func (s ServerInfo) String() string
type ServerInfo_List ¶
ServerInfo_List is a list of ServerInfo.
func NewServerInfo_List ¶
func NewServerInfo_List(s *capnp.Segment, sz int32) (ServerInfo_List, error)
NewServerInfo creates a new list of ServerInfo.
func (ServerInfo_List) At ¶
func (s ServerInfo_List) At(i int) ServerInfo
func (ServerInfo_List) Set ¶
func (s ServerInfo_List) Set(i int, v ServerInfo) error
func (ServerInfo_List) String ¶
func (s ServerInfo_List) String() string
type ServerInfo_Promise ¶
ServerInfo_Promise is a wrapper for a ServerInfo promised by a client call.
func (ServerInfo_Promise) Struct ¶
func (p ServerInfo_Promise) Struct() (ServerInfo, error)
type SessionManager ¶
func SessionManager_ServerToClient ¶
func SessionManager_ServerToClient(s SessionManager_Server) SessionManager
func (SessionManager) RegisterUdpSession ¶
func (c SessionManager) RegisterUdpSession(ctx context.Context, params func(SessionManager_registerUdpSession_Params) error, opts ...capnp.CallOption) SessionManager_registerUdpSession_Results_Promise
func (SessionManager) UnregisterUdpSession ¶
func (c SessionManager) UnregisterUdpSession(ctx context.Context, params func(SessionManager_unregisterUdpSession_Params) error, opts ...capnp.CallOption) SessionManager_unregisterUdpSession_Results_Promise
type SessionManager_Server ¶
type SessionManager_Server interface { RegisterUdpSession(SessionManager_registerUdpSession) error UnregisterUdpSession(SessionManager_unregisterUdpSession) error }
type SessionManager_registerUdpSession ¶
type SessionManager_registerUdpSession struct { Ctx context.Context Options capnp.CallOptions Params SessionManager_registerUdpSession_Params Results SessionManager_registerUdpSession_Results }
SessionManager_registerUdpSession holds the arguments for a server call to SessionManager.registerUdpSession.
type SessionManager_registerUdpSession_Params ¶
func NewRootSessionManager_registerUdpSession_Params ¶
func NewRootSessionManager_registerUdpSession_Params(s *capnp.Segment) (SessionManager_registerUdpSession_Params, error)
func NewSessionManager_registerUdpSession_Params ¶
func NewSessionManager_registerUdpSession_Params(s *capnp.Segment) (SessionManager_registerUdpSession_Params, error)
func ReadRootSessionManager_registerUdpSession_Params ¶
func ReadRootSessionManager_registerUdpSession_Params(msg *capnp.Message) (SessionManager_registerUdpSession_Params, error)
func (SessionManager_registerUdpSession_Params) CloseAfterIdleHint ¶
func (s SessionManager_registerUdpSession_Params) CloseAfterIdleHint() int64
func (SessionManager_registerUdpSession_Params) DstIp ¶
func (s SessionManager_registerUdpSession_Params) DstIp() ([]byte, error)
func (SessionManager_registerUdpSession_Params) DstPort ¶
func (s SessionManager_registerUdpSession_Params) DstPort() uint16
func (SessionManager_registerUdpSession_Params) HasDstIp ¶
func (s SessionManager_registerUdpSession_Params) HasDstIp() bool
func (SessionManager_registerUdpSession_Params) HasSessionId ¶
func (s SessionManager_registerUdpSession_Params) HasSessionId() bool
func (SessionManager_registerUdpSession_Params) HasTraceContext ¶
func (s SessionManager_registerUdpSession_Params) HasTraceContext() bool
func (SessionManager_registerUdpSession_Params) SessionId ¶
func (s SessionManager_registerUdpSession_Params) SessionId() ([]byte, error)
func (SessionManager_registerUdpSession_Params) SetCloseAfterIdleHint ¶
func (s SessionManager_registerUdpSession_Params) SetCloseAfterIdleHint(v int64)
func (SessionManager_registerUdpSession_Params) SetDstIp ¶
func (s SessionManager_registerUdpSession_Params) SetDstIp(v []byte) error
func (SessionManager_registerUdpSession_Params) SetDstPort ¶
func (s SessionManager_registerUdpSession_Params) SetDstPort(v uint16)
func (SessionManager_registerUdpSession_Params) SetSessionId ¶
func (s SessionManager_registerUdpSession_Params) SetSessionId(v []byte) error
func (SessionManager_registerUdpSession_Params) SetTraceContext ¶
func (s SessionManager_registerUdpSession_Params) SetTraceContext(v string) error
func (SessionManager_registerUdpSession_Params) String ¶
func (s SessionManager_registerUdpSession_Params) String() string
func (SessionManager_registerUdpSession_Params) TraceContext ¶
func (s SessionManager_registerUdpSession_Params) TraceContext() (string, error)
func (SessionManager_registerUdpSession_Params) TraceContextBytes ¶
func (s SessionManager_registerUdpSession_Params) TraceContextBytes() ([]byte, error)
type SessionManager_registerUdpSession_Params_List ¶
SessionManager_registerUdpSession_Params_List is a list of SessionManager_registerUdpSession_Params.
func NewSessionManager_registerUdpSession_Params_List ¶
func NewSessionManager_registerUdpSession_Params_List(s *capnp.Segment, sz int32) (SessionManager_registerUdpSession_Params_List, error)
NewSessionManager_registerUdpSession_Params creates a new list of SessionManager_registerUdpSession_Params.
func (SessionManager_registerUdpSession_Params_List) String ¶
func (s SessionManager_registerUdpSession_Params_List) String() string
type SessionManager_registerUdpSession_Params_Promise ¶
SessionManager_registerUdpSession_Params_Promise is a wrapper for a SessionManager_registerUdpSession_Params promised by a client call.
type SessionManager_registerUdpSession_Results ¶
func NewRootSessionManager_registerUdpSession_Results ¶
func NewRootSessionManager_registerUdpSession_Results(s *capnp.Segment) (SessionManager_registerUdpSession_Results, error)
func NewSessionManager_registerUdpSession_Results ¶
func NewSessionManager_registerUdpSession_Results(s *capnp.Segment) (SessionManager_registerUdpSession_Results, error)
func ReadRootSessionManager_registerUdpSession_Results ¶
func ReadRootSessionManager_registerUdpSession_Results(msg *capnp.Message) (SessionManager_registerUdpSession_Results, error)
func (SessionManager_registerUdpSession_Results) HasResult ¶
func (s SessionManager_registerUdpSession_Results) HasResult() bool
func (SessionManager_registerUdpSession_Results) NewResult ¶
func (s SessionManager_registerUdpSession_Results) NewResult() (RegisterUdpSessionResponse, error)
NewResult sets the result field to a newly allocated RegisterUdpSessionResponse struct, preferring placement in s's segment.
func (SessionManager_registerUdpSession_Results) Result ¶
func (s SessionManager_registerUdpSession_Results) Result() (RegisterUdpSessionResponse, error)
func (SessionManager_registerUdpSession_Results) SetResult ¶
func (s SessionManager_registerUdpSession_Results) SetResult(v RegisterUdpSessionResponse) error
func (SessionManager_registerUdpSession_Results) String ¶
func (s SessionManager_registerUdpSession_Results) String() string
type SessionManager_registerUdpSession_Results_List ¶
SessionManager_registerUdpSession_Results_List is a list of SessionManager_registerUdpSession_Results.
func NewSessionManager_registerUdpSession_Results_List ¶
func NewSessionManager_registerUdpSession_Results_List(s *capnp.Segment, sz int32) (SessionManager_registerUdpSession_Results_List, error)
NewSessionManager_registerUdpSession_Results creates a new list of SessionManager_registerUdpSession_Results.
func (SessionManager_registerUdpSession_Results_List) String ¶
func (s SessionManager_registerUdpSession_Results_List) String() string
type SessionManager_registerUdpSession_Results_Promise ¶
SessionManager_registerUdpSession_Results_Promise is a wrapper for a SessionManager_registerUdpSession_Results promised by a client call.
type SessionManager_unregisterUdpSession ¶
type SessionManager_unregisterUdpSession struct { Ctx context.Context Options capnp.CallOptions Params SessionManager_unregisterUdpSession_Params Results SessionManager_unregisterUdpSession_Results }
SessionManager_unregisterUdpSession holds the arguments for a server call to SessionManager.unregisterUdpSession.
type SessionManager_unregisterUdpSession_Params ¶
func NewRootSessionManager_unregisterUdpSession_Params ¶
func NewRootSessionManager_unregisterUdpSession_Params(s *capnp.Segment) (SessionManager_unregisterUdpSession_Params, error)
func NewSessionManager_unregisterUdpSession_Params ¶
func NewSessionManager_unregisterUdpSession_Params(s *capnp.Segment) (SessionManager_unregisterUdpSession_Params, error)
func ReadRootSessionManager_unregisterUdpSession_Params ¶
func ReadRootSessionManager_unregisterUdpSession_Params(msg *capnp.Message) (SessionManager_unregisterUdpSession_Params, error)
func (SessionManager_unregisterUdpSession_Params) HasMessage ¶
func (s SessionManager_unregisterUdpSession_Params) HasMessage() bool
func (SessionManager_unregisterUdpSession_Params) HasSessionId ¶
func (s SessionManager_unregisterUdpSession_Params) HasSessionId() bool
func (SessionManager_unregisterUdpSession_Params) Message ¶
func (s SessionManager_unregisterUdpSession_Params) Message() (string, error)
func (SessionManager_unregisterUdpSession_Params) MessageBytes ¶
func (s SessionManager_unregisterUdpSession_Params) MessageBytes() ([]byte, error)
func (SessionManager_unregisterUdpSession_Params) SessionId ¶
func (s SessionManager_unregisterUdpSession_Params) SessionId() ([]byte, error)
func (SessionManager_unregisterUdpSession_Params) SetMessage ¶
func (s SessionManager_unregisterUdpSession_Params) SetMessage(v string) error
func (SessionManager_unregisterUdpSession_Params) SetSessionId ¶
func (s SessionManager_unregisterUdpSession_Params) SetSessionId(v []byte) error
func (SessionManager_unregisterUdpSession_Params) String ¶
func (s SessionManager_unregisterUdpSession_Params) String() string
type SessionManager_unregisterUdpSession_Params_List ¶
SessionManager_unregisterUdpSession_Params_List is a list of SessionManager_unregisterUdpSession_Params.
func NewSessionManager_unregisterUdpSession_Params_List ¶
func NewSessionManager_unregisterUdpSession_Params_List(s *capnp.Segment, sz int32) (SessionManager_unregisterUdpSession_Params_List, error)
NewSessionManager_unregisterUdpSession_Params creates a new list of SessionManager_unregisterUdpSession_Params.
func (SessionManager_unregisterUdpSession_Params_List) String ¶
func (s SessionManager_unregisterUdpSession_Params_List) String() string
type SessionManager_unregisterUdpSession_Params_Promise ¶
SessionManager_unregisterUdpSession_Params_Promise is a wrapper for a SessionManager_unregisterUdpSession_Params promised by a client call.
type SessionManager_unregisterUdpSession_Results ¶
func NewRootSessionManager_unregisterUdpSession_Results ¶
func NewRootSessionManager_unregisterUdpSession_Results(s *capnp.Segment) (SessionManager_unregisterUdpSession_Results, error)
func NewSessionManager_unregisterUdpSession_Results ¶
func NewSessionManager_unregisterUdpSession_Results(s *capnp.Segment) (SessionManager_unregisterUdpSession_Results, error)
func ReadRootSessionManager_unregisterUdpSession_Results ¶
func ReadRootSessionManager_unregisterUdpSession_Results(msg *capnp.Message) (SessionManager_unregisterUdpSession_Results, error)
func (SessionManager_unregisterUdpSession_Results) String ¶
func (s SessionManager_unregisterUdpSession_Results) String() string
type SessionManager_unregisterUdpSession_Results_List ¶
SessionManager_unregisterUdpSession_Results_List is a list of SessionManager_unregisterUdpSession_Results.
func NewSessionManager_unregisterUdpSession_Results_List ¶
func NewSessionManager_unregisterUdpSession_Results_List(s *capnp.Segment, sz int32) (SessionManager_unregisterUdpSession_Results_List, error)
NewSessionManager_unregisterUdpSession_Results creates a new list of SessionManager_unregisterUdpSession_Results.
func (SessionManager_unregisterUdpSession_Results_List) String ¶
func (s SessionManager_unregisterUdpSession_Results_List) String() string
type SessionManager_unregisterUdpSession_Results_Promise ¶
SessionManager_unregisterUdpSession_Results_Promise is a wrapper for a SessionManager_unregisterUdpSession_Results promised by a client call.
type Tag ¶
func (Tag) ValueBytes ¶
type Tag_Promise ¶
Tag_Promise is a wrapper for a Tag promised by a client call.
func (Tag_Promise) Struct ¶
func (p Tag_Promise) Struct() (Tag, error)
type TunnelAuth ¶
func NewRootTunnelAuth ¶
func NewRootTunnelAuth(s *capnp.Segment) (TunnelAuth, error)
func NewTunnelAuth ¶
func NewTunnelAuth(s *capnp.Segment) (TunnelAuth, error)
func ReadRootTunnelAuth ¶
func ReadRootTunnelAuth(msg *capnp.Message) (TunnelAuth, error)
func (TunnelAuth) AccountTag ¶
func (s TunnelAuth) AccountTag() (string, error)
func (TunnelAuth) AccountTagBytes ¶
func (s TunnelAuth) AccountTagBytes() ([]byte, error)
func (TunnelAuth) HasAccountTag ¶
func (s TunnelAuth) HasAccountTag() bool
func (TunnelAuth) HasTunnelSecret ¶
func (s TunnelAuth) HasTunnelSecret() bool
func (TunnelAuth) SetAccountTag ¶
func (s TunnelAuth) SetAccountTag(v string) error
func (TunnelAuth) SetTunnelSecret ¶
func (s TunnelAuth) SetTunnelSecret(v []byte) error
func (TunnelAuth) String ¶
func (s TunnelAuth) String() string
func (TunnelAuth) TunnelSecret ¶
func (s TunnelAuth) TunnelSecret() ([]byte, error)
type TunnelAuth_List ¶
TunnelAuth_List is a list of TunnelAuth.
func NewTunnelAuth_List ¶
func NewTunnelAuth_List(s *capnp.Segment, sz int32) (TunnelAuth_List, error)
NewTunnelAuth creates a new list of TunnelAuth.
func (TunnelAuth_List) At ¶
func (s TunnelAuth_List) At(i int) TunnelAuth
func (TunnelAuth_List) Set ¶
func (s TunnelAuth_List) Set(i int, v TunnelAuth) error
func (TunnelAuth_List) String ¶
func (s TunnelAuth_List) String() string
type TunnelAuth_Promise ¶
TunnelAuth_Promise is a wrapper for a TunnelAuth promised by a client call.
func (TunnelAuth_Promise) Struct ¶
func (p TunnelAuth_Promise) Struct() (TunnelAuth, error)
type TunnelRegistration ¶
func NewRootTunnelRegistration ¶
func NewRootTunnelRegistration(s *capnp.Segment) (TunnelRegistration, error)
func NewTunnelRegistration ¶
func NewTunnelRegistration(s *capnp.Segment) (TunnelRegistration, error)
func ReadRootTunnelRegistration ¶
func ReadRootTunnelRegistration(msg *capnp.Message) (TunnelRegistration, error)
func (TunnelRegistration) ConnDigest ¶
func (s TunnelRegistration) ConnDigest() ([]byte, error)
func (TunnelRegistration) Err ¶
func (s TunnelRegistration) Err() (string, error)
func (TunnelRegistration) ErrBytes ¶
func (s TunnelRegistration) ErrBytes() ([]byte, error)
func (TunnelRegistration) EventDigest ¶
func (s TunnelRegistration) EventDigest() ([]byte, error)
func (TunnelRegistration) HasConnDigest ¶
func (s TunnelRegistration) HasConnDigest() bool
func (TunnelRegistration) HasErr ¶
func (s TunnelRegistration) HasErr() bool
func (TunnelRegistration) HasEventDigest ¶
func (s TunnelRegistration) HasEventDigest() bool
func (TunnelRegistration) HasLogLines ¶
func (s TunnelRegistration) HasLogLines() bool
func (TunnelRegistration) HasTunnelID ¶
func (s TunnelRegistration) HasTunnelID() bool
func (TunnelRegistration) HasUrl ¶
func (s TunnelRegistration) HasUrl() bool
func (TunnelRegistration) NewLogLines ¶
func (s TunnelRegistration) NewLogLines(n int32) (capnp.TextList, error)
NewLogLines sets the logLines field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (TunnelRegistration) PermanentFailure ¶
func (s TunnelRegistration) PermanentFailure() bool
func (TunnelRegistration) RetryAfterSeconds ¶
func (s TunnelRegistration) RetryAfterSeconds() uint16
func (TunnelRegistration) SetConnDigest ¶
func (s TunnelRegistration) SetConnDigest(v []byte) error
func (TunnelRegistration) SetErr ¶
func (s TunnelRegistration) SetErr(v string) error
func (TunnelRegistration) SetEventDigest ¶
func (s TunnelRegistration) SetEventDigest(v []byte) error
func (TunnelRegistration) SetLogLines ¶
func (s TunnelRegistration) SetLogLines(v capnp.TextList) error
func (TunnelRegistration) SetPermanentFailure ¶
func (s TunnelRegistration) SetPermanentFailure(v bool)
func (TunnelRegistration) SetRetryAfterSeconds ¶
func (s TunnelRegistration) SetRetryAfterSeconds(v uint16)
func (TunnelRegistration) SetTunnelID ¶
func (s TunnelRegistration) SetTunnelID(v string) error
func (TunnelRegistration) SetUrl ¶
func (s TunnelRegistration) SetUrl(v string) error
func (TunnelRegistration) String ¶
func (s TunnelRegistration) String() string
func (TunnelRegistration) TunnelID ¶
func (s TunnelRegistration) TunnelID() (string, error)
func (TunnelRegistration) TunnelIDBytes ¶
func (s TunnelRegistration) TunnelIDBytes() ([]byte, error)
func (TunnelRegistration) Url ¶
func (s TunnelRegistration) Url() (string, error)
func (TunnelRegistration) UrlBytes ¶
func (s TunnelRegistration) UrlBytes() ([]byte, error)
type TunnelRegistration_List ¶
TunnelRegistration_List is a list of TunnelRegistration.
func NewTunnelRegistration_List ¶
func NewTunnelRegistration_List(s *capnp.Segment, sz int32) (TunnelRegistration_List, error)
NewTunnelRegistration creates a new list of TunnelRegistration.
func (TunnelRegistration_List) At ¶
func (s TunnelRegistration_List) At(i int) TunnelRegistration
func (TunnelRegistration_List) Set ¶
func (s TunnelRegistration_List) Set(i int, v TunnelRegistration) error
func (TunnelRegistration_List) String ¶
func (s TunnelRegistration_List) String() string
type TunnelRegistration_Promise ¶
TunnelRegistration_Promise is a wrapper for a TunnelRegistration promised by a client call.
func (TunnelRegistration_Promise) Struct ¶
func (p TunnelRegistration_Promise) Struct() (TunnelRegistration, error)
type TunnelServer ¶
func TunnelServer_ServerToClient ¶
func TunnelServer_ServerToClient(s TunnelServer_Server) TunnelServer
func (TunnelServer) Authenticate ¶
func (c TunnelServer) Authenticate(ctx context.Context, params func(TunnelServer_authenticate_Params) error, opts ...capnp.CallOption) TunnelServer_authenticate_Results_Promise
func (TunnelServer) GetServerInfo ¶
func (c TunnelServer) GetServerInfo(ctx context.Context, params func(TunnelServer_getServerInfo_Params) error, opts ...capnp.CallOption) TunnelServer_getServerInfo_Results_Promise
func (TunnelServer) ObsoleteDeclarativeTunnelConnect ¶
func (c TunnelServer) ObsoleteDeclarativeTunnelConnect(ctx context.Context, params func(TunnelServer_obsoleteDeclarativeTunnelConnect_Params) error, opts ...capnp.CallOption) TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise
func (TunnelServer) ReconnectTunnel ¶
func (c TunnelServer) ReconnectTunnel(ctx context.Context, params func(TunnelServer_reconnectTunnel_Params) error, opts ...capnp.CallOption) TunnelServer_reconnectTunnel_Results_Promise
func (TunnelServer) RegisterConnection ¶
func (c TunnelServer) RegisterConnection(ctx context.Context, params func(RegistrationServer_registerConnection_Params) error, opts ...capnp.CallOption) RegistrationServer_registerConnection_Results_Promise
func (TunnelServer) RegisterTunnel ¶
func (c TunnelServer) RegisterTunnel(ctx context.Context, params func(TunnelServer_registerTunnel_Params) error, opts ...capnp.CallOption) TunnelServer_registerTunnel_Results_Promise
func (TunnelServer) UnregisterConnection ¶
func (c TunnelServer) UnregisterConnection(ctx context.Context, params func(RegistrationServer_unregisterConnection_Params) error, opts ...capnp.CallOption) RegistrationServer_unregisterConnection_Results_Promise
func (TunnelServer) UnregisterTunnel ¶
func (c TunnelServer) UnregisterTunnel(ctx context.Context, params func(TunnelServer_unregisterTunnel_Params) error, opts ...capnp.CallOption) TunnelServer_unregisterTunnel_Results_Promise
func (TunnelServer) UpdateLocalConfiguration ¶
func (c TunnelServer) UpdateLocalConfiguration(ctx context.Context, params func(RegistrationServer_updateLocalConfiguration_Params) error, opts ...capnp.CallOption) RegistrationServer_updateLocalConfiguration_Results_Promise
type TunnelServer_Server ¶
type TunnelServer_Server interface { RegisterTunnel(TunnelServer_registerTunnel) error GetServerInfo(TunnelServer_getServerInfo) error UnregisterTunnel(TunnelServer_unregisterTunnel) error ObsoleteDeclarativeTunnelConnect(TunnelServer_obsoleteDeclarativeTunnelConnect) error Authenticate(TunnelServer_authenticate) error ReconnectTunnel(TunnelServer_reconnectTunnel) error RegisterConnection(RegistrationServer_registerConnection) error UnregisterConnection(RegistrationServer_unregisterConnection) error UpdateLocalConfiguration(RegistrationServer_updateLocalConfiguration) error }
type TunnelServer_authenticate ¶
type TunnelServer_authenticate struct { Ctx context.Context Options capnp.CallOptions Params TunnelServer_authenticate_Params Results TunnelServer_authenticate_Results }
TunnelServer_authenticate holds the arguments for a server call to TunnelServer.authenticate.
type TunnelServer_authenticate_Params ¶
func NewRootTunnelServer_authenticate_Params ¶
func NewRootTunnelServer_authenticate_Params(s *capnp.Segment) (TunnelServer_authenticate_Params, error)
func NewTunnelServer_authenticate_Params ¶
func NewTunnelServer_authenticate_Params(s *capnp.Segment) (TunnelServer_authenticate_Params, error)
func ReadRootTunnelServer_authenticate_Params ¶
func ReadRootTunnelServer_authenticate_Params(msg *capnp.Message) (TunnelServer_authenticate_Params, error)
func (TunnelServer_authenticate_Params) HasHostname ¶
func (s TunnelServer_authenticate_Params) HasHostname() bool
func (TunnelServer_authenticate_Params) HasOptions ¶
func (s TunnelServer_authenticate_Params) HasOptions() bool
func (TunnelServer_authenticate_Params) HasOriginCert ¶
func (s TunnelServer_authenticate_Params) HasOriginCert() bool
func (TunnelServer_authenticate_Params) Hostname ¶
func (s TunnelServer_authenticate_Params) Hostname() (string, error)
func (TunnelServer_authenticate_Params) HostnameBytes ¶
func (s TunnelServer_authenticate_Params) HostnameBytes() ([]byte, error)
func (TunnelServer_authenticate_Params) NewOptions ¶
func (s TunnelServer_authenticate_Params) NewOptions() (RegistrationOptions, error)
NewOptions sets the options field to a newly allocated RegistrationOptions struct, preferring placement in s's segment.
func (TunnelServer_authenticate_Params) Options ¶
func (s TunnelServer_authenticate_Params) Options() (RegistrationOptions, error)
func (TunnelServer_authenticate_Params) OriginCert ¶
func (s TunnelServer_authenticate_Params) OriginCert() ([]byte, error)
func (TunnelServer_authenticate_Params) SetHostname ¶
func (s TunnelServer_authenticate_Params) SetHostname(v string) error
func (TunnelServer_authenticate_Params) SetOptions ¶
func (s TunnelServer_authenticate_Params) SetOptions(v RegistrationOptions) error
func (TunnelServer_authenticate_Params) SetOriginCert ¶
func (s TunnelServer_authenticate_Params) SetOriginCert(v []byte) error
func (TunnelServer_authenticate_Params) String ¶
func (s TunnelServer_authenticate_Params) String() string
type TunnelServer_authenticate_Params_List ¶
TunnelServer_authenticate_Params_List is a list of TunnelServer_authenticate_Params.
func NewTunnelServer_authenticate_Params_List ¶
func NewTunnelServer_authenticate_Params_List(s *capnp.Segment, sz int32) (TunnelServer_authenticate_Params_List, error)
NewTunnelServer_authenticate_Params creates a new list of TunnelServer_authenticate_Params.
func (TunnelServer_authenticate_Params_List) Set ¶
func (s TunnelServer_authenticate_Params_List) Set(i int, v TunnelServer_authenticate_Params) error
func (TunnelServer_authenticate_Params_List) String ¶
func (s TunnelServer_authenticate_Params_List) String() string
type TunnelServer_authenticate_Params_Promise ¶
TunnelServer_authenticate_Params_Promise is a wrapper for a TunnelServer_authenticate_Params promised by a client call.
func (TunnelServer_authenticate_Params_Promise) Options ¶
func (p TunnelServer_authenticate_Params_Promise) Options() RegistrationOptions_Promise
func (TunnelServer_authenticate_Params_Promise) Struct ¶
func (p TunnelServer_authenticate_Params_Promise) Struct() (TunnelServer_authenticate_Params, error)
type TunnelServer_authenticate_Results ¶
func NewRootTunnelServer_authenticate_Results ¶
func NewRootTunnelServer_authenticate_Results(s *capnp.Segment) (TunnelServer_authenticate_Results, error)
func NewTunnelServer_authenticate_Results ¶
func NewTunnelServer_authenticate_Results(s *capnp.Segment) (TunnelServer_authenticate_Results, error)
func ReadRootTunnelServer_authenticate_Results ¶
func ReadRootTunnelServer_authenticate_Results(msg *capnp.Message) (TunnelServer_authenticate_Results, error)
func (TunnelServer_authenticate_Results) HasResult ¶
func (s TunnelServer_authenticate_Results) HasResult() bool
func (TunnelServer_authenticate_Results) NewResult ¶
func (s TunnelServer_authenticate_Results) NewResult() (AuthenticateResponse, error)
NewResult sets the result field to a newly allocated AuthenticateResponse struct, preferring placement in s's segment.
func (TunnelServer_authenticate_Results) Result ¶
func (s TunnelServer_authenticate_Results) Result() (AuthenticateResponse, error)
func (TunnelServer_authenticate_Results) SetResult ¶
func (s TunnelServer_authenticate_Results) SetResult(v AuthenticateResponse) error
func (TunnelServer_authenticate_Results) String ¶
func (s TunnelServer_authenticate_Results) String() string
type TunnelServer_authenticate_Results_List ¶
TunnelServer_authenticate_Results_List is a list of TunnelServer_authenticate_Results.
func NewTunnelServer_authenticate_Results_List ¶
func NewTunnelServer_authenticate_Results_List(s *capnp.Segment, sz int32) (TunnelServer_authenticate_Results_List, error)
NewTunnelServer_authenticate_Results creates a new list of TunnelServer_authenticate_Results.
func (TunnelServer_authenticate_Results_List) Set ¶
func (s TunnelServer_authenticate_Results_List) Set(i int, v TunnelServer_authenticate_Results) error
func (TunnelServer_authenticate_Results_List) String ¶
func (s TunnelServer_authenticate_Results_List) String() string
type TunnelServer_authenticate_Results_Promise ¶
TunnelServer_authenticate_Results_Promise is a wrapper for a TunnelServer_authenticate_Results promised by a client call.
func (TunnelServer_authenticate_Results_Promise) Result ¶
func (p TunnelServer_authenticate_Results_Promise) Result() AuthenticateResponse_Promise
func (TunnelServer_authenticate_Results_Promise) Struct ¶
func (p TunnelServer_authenticate_Results_Promise) Struct() (TunnelServer_authenticate_Results, error)
type TunnelServer_getServerInfo ¶
type TunnelServer_getServerInfo struct { Ctx context.Context Options capnp.CallOptions Params TunnelServer_getServerInfo_Params Results TunnelServer_getServerInfo_Results }
TunnelServer_getServerInfo holds the arguments for a server call to TunnelServer.getServerInfo.
type TunnelServer_getServerInfo_Params ¶
func NewRootTunnelServer_getServerInfo_Params ¶
func NewRootTunnelServer_getServerInfo_Params(s *capnp.Segment) (TunnelServer_getServerInfo_Params, error)
func NewTunnelServer_getServerInfo_Params ¶
func NewTunnelServer_getServerInfo_Params(s *capnp.Segment) (TunnelServer_getServerInfo_Params, error)
func ReadRootTunnelServer_getServerInfo_Params ¶
func ReadRootTunnelServer_getServerInfo_Params(msg *capnp.Message) (TunnelServer_getServerInfo_Params, error)
func (TunnelServer_getServerInfo_Params) String ¶
func (s TunnelServer_getServerInfo_Params) String() string
type TunnelServer_getServerInfo_Params_List ¶
TunnelServer_getServerInfo_Params_List is a list of TunnelServer_getServerInfo_Params.
func NewTunnelServer_getServerInfo_Params_List ¶
func NewTunnelServer_getServerInfo_Params_List(s *capnp.Segment, sz int32) (TunnelServer_getServerInfo_Params_List, error)
NewTunnelServer_getServerInfo_Params creates a new list of TunnelServer_getServerInfo_Params.
func (TunnelServer_getServerInfo_Params_List) Set ¶
func (s TunnelServer_getServerInfo_Params_List) Set(i int, v TunnelServer_getServerInfo_Params) error
func (TunnelServer_getServerInfo_Params_List) String ¶
func (s TunnelServer_getServerInfo_Params_List) String() string
type TunnelServer_getServerInfo_Params_Promise ¶
TunnelServer_getServerInfo_Params_Promise is a wrapper for a TunnelServer_getServerInfo_Params promised by a client call.
func (TunnelServer_getServerInfo_Params_Promise) Struct ¶
func (p TunnelServer_getServerInfo_Params_Promise) Struct() (TunnelServer_getServerInfo_Params, error)
type TunnelServer_getServerInfo_Results ¶
func NewRootTunnelServer_getServerInfo_Results ¶
func NewRootTunnelServer_getServerInfo_Results(s *capnp.Segment) (TunnelServer_getServerInfo_Results, error)
func NewTunnelServer_getServerInfo_Results ¶
func NewTunnelServer_getServerInfo_Results(s *capnp.Segment) (TunnelServer_getServerInfo_Results, error)
func ReadRootTunnelServer_getServerInfo_Results ¶
func ReadRootTunnelServer_getServerInfo_Results(msg *capnp.Message) (TunnelServer_getServerInfo_Results, error)
func (TunnelServer_getServerInfo_Results) HasResult ¶
func (s TunnelServer_getServerInfo_Results) HasResult() bool
func (TunnelServer_getServerInfo_Results) NewResult ¶
func (s TunnelServer_getServerInfo_Results) NewResult() (ServerInfo, error)
NewResult sets the result field to a newly allocated ServerInfo struct, preferring placement in s's segment.
func (TunnelServer_getServerInfo_Results) Result ¶
func (s TunnelServer_getServerInfo_Results) Result() (ServerInfo, error)
func (TunnelServer_getServerInfo_Results) SetResult ¶
func (s TunnelServer_getServerInfo_Results) SetResult(v ServerInfo) error
func (TunnelServer_getServerInfo_Results) String ¶
func (s TunnelServer_getServerInfo_Results) String() string
type TunnelServer_getServerInfo_Results_List ¶
TunnelServer_getServerInfo_Results_List is a list of TunnelServer_getServerInfo_Results.
func NewTunnelServer_getServerInfo_Results_List ¶
func NewTunnelServer_getServerInfo_Results_List(s *capnp.Segment, sz int32) (TunnelServer_getServerInfo_Results_List, error)
NewTunnelServer_getServerInfo_Results creates a new list of TunnelServer_getServerInfo_Results.
func (TunnelServer_getServerInfo_Results_List) Set ¶
func (s TunnelServer_getServerInfo_Results_List) Set(i int, v TunnelServer_getServerInfo_Results) error
func (TunnelServer_getServerInfo_Results_List) String ¶
func (s TunnelServer_getServerInfo_Results_List) String() string
type TunnelServer_getServerInfo_Results_Promise ¶
TunnelServer_getServerInfo_Results_Promise is a wrapper for a TunnelServer_getServerInfo_Results promised by a client call.
func (TunnelServer_getServerInfo_Results_Promise) Result ¶
func (p TunnelServer_getServerInfo_Results_Promise) Result() ServerInfo_Promise
func (TunnelServer_getServerInfo_Results_Promise) Struct ¶
func (p TunnelServer_getServerInfo_Results_Promise) Struct() (TunnelServer_getServerInfo_Results, error)
type TunnelServer_obsoleteDeclarativeTunnelConnect ¶
type TunnelServer_obsoleteDeclarativeTunnelConnect struct { Ctx context.Context Options capnp.CallOptions Params TunnelServer_obsoleteDeclarativeTunnelConnect_Params Results TunnelServer_obsoleteDeclarativeTunnelConnect_Results }
TunnelServer_obsoleteDeclarativeTunnelConnect holds the arguments for a server call to TunnelServer.obsoleteDeclarativeTunnelConnect.
type TunnelServer_obsoleteDeclarativeTunnelConnect_Params ¶
func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params ¶
func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Params, error)
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params ¶
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Params, error)
func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params ¶
func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Params(msg *capnp.Message) (TunnelServer_obsoleteDeclarativeTunnelConnect_Params, error)
func (TunnelServer_obsoleteDeclarativeTunnelConnect_Params) String ¶
func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Params) String() string
type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List ¶
TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List is a list of TunnelServer_obsoleteDeclarativeTunnelConnect_Params.
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params_List ¶
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params_List(s *capnp.Segment, sz int32) (TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List, error)
NewTunnelServer_obsoleteDeclarativeTunnelConnect_Params creates a new list of TunnelServer_obsoleteDeclarativeTunnelConnect_Params.
func (TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List) String ¶
func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List) String() string
type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise ¶
TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise is a wrapper for a TunnelServer_obsoleteDeclarativeTunnelConnect_Params promised by a client call.
type TunnelServer_obsoleteDeclarativeTunnelConnect_Results ¶
func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results ¶
func NewRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Results, error)
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results ¶
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results(s *capnp.Segment) (TunnelServer_obsoleteDeclarativeTunnelConnect_Results, error)
func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results ¶
func ReadRootTunnelServer_obsoleteDeclarativeTunnelConnect_Results(msg *capnp.Message) (TunnelServer_obsoleteDeclarativeTunnelConnect_Results, error)
func (TunnelServer_obsoleteDeclarativeTunnelConnect_Results) String ¶
func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Results) String() string
type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List ¶
TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List is a list of TunnelServer_obsoleteDeclarativeTunnelConnect_Results.
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results_List ¶
func NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results_List(s *capnp.Segment, sz int32) (TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List, error)
NewTunnelServer_obsoleteDeclarativeTunnelConnect_Results creates a new list of TunnelServer_obsoleteDeclarativeTunnelConnect_Results.
func (TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List) String ¶
func (s TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List) String() string
type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise ¶
TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise is a wrapper for a TunnelServer_obsoleteDeclarativeTunnelConnect_Results promised by a client call.
type TunnelServer_reconnectTunnel ¶
type TunnelServer_reconnectTunnel struct { Ctx context.Context Options capnp.CallOptions Params TunnelServer_reconnectTunnel_Params Results TunnelServer_reconnectTunnel_Results }
TunnelServer_reconnectTunnel holds the arguments for a server call to TunnelServer.reconnectTunnel.
type TunnelServer_reconnectTunnel_Params ¶
func NewRootTunnelServer_reconnectTunnel_Params ¶
func NewRootTunnelServer_reconnectTunnel_Params(s *capnp.Segment) (TunnelServer_reconnectTunnel_Params, error)
func NewTunnelServer_reconnectTunnel_Params ¶
func NewTunnelServer_reconnectTunnel_Params(s *capnp.Segment) (TunnelServer_reconnectTunnel_Params, error)
func ReadRootTunnelServer_reconnectTunnel_Params ¶
func ReadRootTunnelServer_reconnectTunnel_Params(msg *capnp.Message) (TunnelServer_reconnectTunnel_Params, error)
func (TunnelServer_reconnectTunnel_Params) ConnDigest ¶
func (s TunnelServer_reconnectTunnel_Params) ConnDigest() ([]byte, error)
func (TunnelServer_reconnectTunnel_Params) EventDigest ¶
func (s TunnelServer_reconnectTunnel_Params) EventDigest() ([]byte, error)
func (TunnelServer_reconnectTunnel_Params) HasConnDigest ¶
func (s TunnelServer_reconnectTunnel_Params) HasConnDigest() bool
func (TunnelServer_reconnectTunnel_Params) HasEventDigest ¶
func (s TunnelServer_reconnectTunnel_Params) HasEventDigest() bool
func (TunnelServer_reconnectTunnel_Params) HasHostname ¶
func (s TunnelServer_reconnectTunnel_Params) HasHostname() bool
func (TunnelServer_reconnectTunnel_Params) HasJwt ¶
func (s TunnelServer_reconnectTunnel_Params) HasJwt() bool
func (TunnelServer_reconnectTunnel_Params) HasOptions ¶
func (s TunnelServer_reconnectTunnel_Params) HasOptions() bool
func (TunnelServer_reconnectTunnel_Params) Hostname ¶
func (s TunnelServer_reconnectTunnel_Params) Hostname() (string, error)
func (TunnelServer_reconnectTunnel_Params) HostnameBytes ¶
func (s TunnelServer_reconnectTunnel_Params) HostnameBytes() ([]byte, error)
func (TunnelServer_reconnectTunnel_Params) Jwt ¶
func (s TunnelServer_reconnectTunnel_Params) Jwt() ([]byte, error)
func (TunnelServer_reconnectTunnel_Params) NewOptions ¶
func (s TunnelServer_reconnectTunnel_Params) NewOptions() (RegistrationOptions, error)
NewOptions sets the options field to a newly allocated RegistrationOptions struct, preferring placement in s's segment.
func (TunnelServer_reconnectTunnel_Params) Options ¶
func (s TunnelServer_reconnectTunnel_Params) Options() (RegistrationOptions, error)
func (TunnelServer_reconnectTunnel_Params) SetConnDigest ¶
func (s TunnelServer_reconnectTunnel_Params) SetConnDigest(v []byte) error
func (TunnelServer_reconnectTunnel_Params) SetEventDigest ¶
func (s TunnelServer_reconnectTunnel_Params) SetEventDigest(v []byte) error
func (TunnelServer_reconnectTunnel_Params) SetHostname ¶
func (s TunnelServer_reconnectTunnel_Params) SetHostname(v string) error
func (TunnelServer_reconnectTunnel_Params) SetJwt ¶
func (s TunnelServer_reconnectTunnel_Params) SetJwt(v []byte) error
func (TunnelServer_reconnectTunnel_Params) SetOptions ¶
func (s TunnelServer_reconnectTunnel_Params) SetOptions(v RegistrationOptions) error
func (TunnelServer_reconnectTunnel_Params) String ¶
func (s TunnelServer_reconnectTunnel_Params) String() string
type TunnelServer_reconnectTunnel_Params_List ¶
TunnelServer_reconnectTunnel_Params_List is a list of TunnelServer_reconnectTunnel_Params.
func NewTunnelServer_reconnectTunnel_Params_List ¶
func NewTunnelServer_reconnectTunnel_Params_List(s *capnp.Segment, sz int32) (TunnelServer_reconnectTunnel_Params_List, error)
NewTunnelServer_reconnectTunnel_Params creates a new list of TunnelServer_reconnectTunnel_Params.
func (TunnelServer_reconnectTunnel_Params_List) Set ¶
func (s TunnelServer_reconnectTunnel_Params_List) Set(i int, v TunnelServer_reconnectTunnel_Params) error
func (TunnelServer_reconnectTunnel_Params_List) String ¶
func (s TunnelServer_reconnectTunnel_Params_List) String() string
type TunnelServer_reconnectTunnel_Params_Promise ¶
TunnelServer_reconnectTunnel_Params_Promise is a wrapper for a TunnelServer_reconnectTunnel_Params promised by a client call.
func (TunnelServer_reconnectTunnel_Params_Promise) Options ¶
func (p TunnelServer_reconnectTunnel_Params_Promise) Options() RegistrationOptions_Promise
func (TunnelServer_reconnectTunnel_Params_Promise) Struct ¶
func (p TunnelServer_reconnectTunnel_Params_Promise) Struct() (TunnelServer_reconnectTunnel_Params, error)
type TunnelServer_reconnectTunnel_Results ¶
func NewRootTunnelServer_reconnectTunnel_Results ¶
func NewRootTunnelServer_reconnectTunnel_Results(s *capnp.Segment) (TunnelServer_reconnectTunnel_Results, error)
func NewTunnelServer_reconnectTunnel_Results ¶
func NewTunnelServer_reconnectTunnel_Results(s *capnp.Segment) (TunnelServer_reconnectTunnel_Results, error)
func ReadRootTunnelServer_reconnectTunnel_Results ¶
func ReadRootTunnelServer_reconnectTunnel_Results(msg *capnp.Message) (TunnelServer_reconnectTunnel_Results, error)
func (TunnelServer_reconnectTunnel_Results) HasResult ¶
func (s TunnelServer_reconnectTunnel_Results) HasResult() bool
func (TunnelServer_reconnectTunnel_Results) NewResult ¶
func (s TunnelServer_reconnectTunnel_Results) NewResult() (TunnelRegistration, error)
NewResult sets the result field to a newly allocated TunnelRegistration struct, preferring placement in s's segment.
func (TunnelServer_reconnectTunnel_Results) Result ¶
func (s TunnelServer_reconnectTunnel_Results) Result() (TunnelRegistration, error)
func (TunnelServer_reconnectTunnel_Results) SetResult ¶
func (s TunnelServer_reconnectTunnel_Results) SetResult(v TunnelRegistration) error
func (TunnelServer_reconnectTunnel_Results) String ¶
func (s TunnelServer_reconnectTunnel_Results) String() string
type TunnelServer_reconnectTunnel_Results_List ¶
TunnelServer_reconnectTunnel_Results_List is a list of TunnelServer_reconnectTunnel_Results.
func NewTunnelServer_reconnectTunnel_Results_List ¶
func NewTunnelServer_reconnectTunnel_Results_List(s *capnp.Segment, sz int32) (TunnelServer_reconnectTunnel_Results_List, error)
NewTunnelServer_reconnectTunnel_Results creates a new list of TunnelServer_reconnectTunnel_Results.
func (TunnelServer_reconnectTunnel_Results_List) Set ¶
func (s TunnelServer_reconnectTunnel_Results_List) Set(i int, v TunnelServer_reconnectTunnel_Results) error
func (TunnelServer_reconnectTunnel_Results_List) String ¶
func (s TunnelServer_reconnectTunnel_Results_List) String() string
type TunnelServer_reconnectTunnel_Results_Promise ¶
TunnelServer_reconnectTunnel_Results_Promise is a wrapper for a TunnelServer_reconnectTunnel_Results promised by a client call.
func (TunnelServer_reconnectTunnel_Results_Promise) Result ¶
func (p TunnelServer_reconnectTunnel_Results_Promise) Result() TunnelRegistration_Promise
func (TunnelServer_reconnectTunnel_Results_Promise) Struct ¶
func (p TunnelServer_reconnectTunnel_Results_Promise) Struct() (TunnelServer_reconnectTunnel_Results, error)
type TunnelServer_registerTunnel ¶
type TunnelServer_registerTunnel struct { Ctx context.Context Options capnp.CallOptions Params TunnelServer_registerTunnel_Params Results TunnelServer_registerTunnel_Results }
TunnelServer_registerTunnel holds the arguments for a server call to TunnelServer.registerTunnel.
type TunnelServer_registerTunnel_Params ¶
func NewRootTunnelServer_registerTunnel_Params ¶
func NewRootTunnelServer_registerTunnel_Params(s *capnp.Segment) (TunnelServer_registerTunnel_Params, error)
func NewTunnelServer_registerTunnel_Params ¶
func NewTunnelServer_registerTunnel_Params(s *capnp.Segment) (TunnelServer_registerTunnel_Params, error)
func ReadRootTunnelServer_registerTunnel_Params ¶
func ReadRootTunnelServer_registerTunnel_Params(msg *capnp.Message) (TunnelServer_registerTunnel_Params, error)
func (TunnelServer_registerTunnel_Params) HasHostname ¶
func (s TunnelServer_registerTunnel_Params) HasHostname() bool
func (TunnelServer_registerTunnel_Params) HasOptions ¶
func (s TunnelServer_registerTunnel_Params) HasOptions() bool
func (TunnelServer_registerTunnel_Params) HasOriginCert ¶
func (s TunnelServer_registerTunnel_Params) HasOriginCert() bool
func (TunnelServer_registerTunnel_Params) Hostname ¶
func (s TunnelServer_registerTunnel_Params) Hostname() (string, error)
func (TunnelServer_registerTunnel_Params) HostnameBytes ¶
func (s TunnelServer_registerTunnel_Params) HostnameBytes() ([]byte, error)
func (TunnelServer_registerTunnel_Params) NewOptions ¶
func (s TunnelServer_registerTunnel_Params) NewOptions() (RegistrationOptions, error)
NewOptions sets the options field to a newly allocated RegistrationOptions struct, preferring placement in s's segment.
func (TunnelServer_registerTunnel_Params) Options ¶
func (s TunnelServer_registerTunnel_Params) Options() (RegistrationOptions, error)
func (TunnelServer_registerTunnel_Params) OriginCert ¶
func (s TunnelServer_registerTunnel_Params) OriginCert() ([]byte, error)
func (TunnelServer_registerTunnel_Params) SetHostname ¶
func (s TunnelServer_registerTunnel_Params) SetHostname(v string) error
func (TunnelServer_registerTunnel_Params) SetOptions ¶
func (s TunnelServer_registerTunnel_Params) SetOptions(v RegistrationOptions) error
func (TunnelServer_registerTunnel_Params) SetOriginCert ¶
func (s TunnelServer_registerTunnel_Params) SetOriginCert(v []byte) error
func (TunnelServer_registerTunnel_Params) String ¶
func (s TunnelServer_registerTunnel_Params) String() string
type TunnelServer_registerTunnel_Params_List ¶
TunnelServer_registerTunnel_Params_List is a list of TunnelServer_registerTunnel_Params.
func NewTunnelServer_registerTunnel_Params_List ¶
func NewTunnelServer_registerTunnel_Params_List(s *capnp.Segment, sz int32) (TunnelServer_registerTunnel_Params_List, error)
NewTunnelServer_registerTunnel_Params creates a new list of TunnelServer_registerTunnel_Params.
func (TunnelServer_registerTunnel_Params_List) Set ¶
func (s TunnelServer_registerTunnel_Params_List) Set(i int, v TunnelServer_registerTunnel_Params) error
func (TunnelServer_registerTunnel_Params_List) String ¶
func (s TunnelServer_registerTunnel_Params_List) String() string
type TunnelServer_registerTunnel_Params_Promise ¶
TunnelServer_registerTunnel_Params_Promise is a wrapper for a TunnelServer_registerTunnel_Params promised by a client call.
func (TunnelServer_registerTunnel_Params_Promise) Options ¶
func (p TunnelServer_registerTunnel_Params_Promise) Options() RegistrationOptions_Promise
func (TunnelServer_registerTunnel_Params_Promise) Struct ¶
func (p TunnelServer_registerTunnel_Params_Promise) Struct() (TunnelServer_registerTunnel_Params, error)
type TunnelServer_registerTunnel_Results ¶
func NewRootTunnelServer_registerTunnel_Results ¶
func NewRootTunnelServer_registerTunnel_Results(s *capnp.Segment) (TunnelServer_registerTunnel_Results, error)
func NewTunnelServer_registerTunnel_Results ¶
func NewTunnelServer_registerTunnel_Results(s *capnp.Segment) (TunnelServer_registerTunnel_Results, error)
func ReadRootTunnelServer_registerTunnel_Results ¶
func ReadRootTunnelServer_registerTunnel_Results(msg *capnp.Message) (TunnelServer_registerTunnel_Results, error)
func (TunnelServer_registerTunnel_Results) HasResult ¶
func (s TunnelServer_registerTunnel_Results) HasResult() bool
func (TunnelServer_registerTunnel_Results) NewResult ¶
func (s TunnelServer_registerTunnel_Results) NewResult() (TunnelRegistration, error)
NewResult sets the result field to a newly allocated TunnelRegistration struct, preferring placement in s's segment.
func (TunnelServer_registerTunnel_Results) Result ¶
func (s TunnelServer_registerTunnel_Results) Result() (TunnelRegistration, error)
func (TunnelServer_registerTunnel_Results) SetResult ¶
func (s TunnelServer_registerTunnel_Results) SetResult(v TunnelRegistration) error
func (TunnelServer_registerTunnel_Results) String ¶
func (s TunnelServer_registerTunnel_Results) String() string
type TunnelServer_registerTunnel_Results_List ¶
TunnelServer_registerTunnel_Results_List is a list of TunnelServer_registerTunnel_Results.
func NewTunnelServer_registerTunnel_Results_List ¶
func NewTunnelServer_registerTunnel_Results_List(s *capnp.Segment, sz int32) (TunnelServer_registerTunnel_Results_List, error)
NewTunnelServer_registerTunnel_Results creates a new list of TunnelServer_registerTunnel_Results.
func (TunnelServer_registerTunnel_Results_List) Set ¶
func (s TunnelServer_registerTunnel_Results_List) Set(i int, v TunnelServer_registerTunnel_Results) error
func (TunnelServer_registerTunnel_Results_List) String ¶
func (s TunnelServer_registerTunnel_Results_List) String() string
type TunnelServer_registerTunnel_Results_Promise ¶
TunnelServer_registerTunnel_Results_Promise is a wrapper for a TunnelServer_registerTunnel_Results promised by a client call.
func (TunnelServer_registerTunnel_Results_Promise) Result ¶
func (p TunnelServer_registerTunnel_Results_Promise) Result() TunnelRegistration_Promise
func (TunnelServer_registerTunnel_Results_Promise) Struct ¶
func (p TunnelServer_registerTunnel_Results_Promise) Struct() (TunnelServer_registerTunnel_Results, error)
type TunnelServer_unregisterTunnel ¶
type TunnelServer_unregisterTunnel struct { Ctx context.Context Options capnp.CallOptions Params TunnelServer_unregisterTunnel_Params Results TunnelServer_unregisterTunnel_Results }
TunnelServer_unregisterTunnel holds the arguments for a server call to TunnelServer.unregisterTunnel.
type TunnelServer_unregisterTunnel_Params ¶
func NewRootTunnelServer_unregisterTunnel_Params ¶
func NewRootTunnelServer_unregisterTunnel_Params(s *capnp.Segment) (TunnelServer_unregisterTunnel_Params, error)
func NewTunnelServer_unregisterTunnel_Params ¶
func NewTunnelServer_unregisterTunnel_Params(s *capnp.Segment) (TunnelServer_unregisterTunnel_Params, error)
func ReadRootTunnelServer_unregisterTunnel_Params ¶
func ReadRootTunnelServer_unregisterTunnel_Params(msg *capnp.Message) (TunnelServer_unregisterTunnel_Params, error)
func (TunnelServer_unregisterTunnel_Params) GracePeriodNanoSec ¶
func (s TunnelServer_unregisterTunnel_Params) GracePeriodNanoSec() int64
func (TunnelServer_unregisterTunnel_Params) SetGracePeriodNanoSec ¶
func (s TunnelServer_unregisterTunnel_Params) SetGracePeriodNanoSec(v int64)
func (TunnelServer_unregisterTunnel_Params) String ¶
func (s TunnelServer_unregisterTunnel_Params) String() string
type TunnelServer_unregisterTunnel_Params_List ¶
TunnelServer_unregisterTunnel_Params_List is a list of TunnelServer_unregisterTunnel_Params.
func NewTunnelServer_unregisterTunnel_Params_List ¶
func NewTunnelServer_unregisterTunnel_Params_List(s *capnp.Segment, sz int32) (TunnelServer_unregisterTunnel_Params_List, error)
NewTunnelServer_unregisterTunnel_Params creates a new list of TunnelServer_unregisterTunnel_Params.
func (TunnelServer_unregisterTunnel_Params_List) Set ¶
func (s TunnelServer_unregisterTunnel_Params_List) Set(i int, v TunnelServer_unregisterTunnel_Params) error
func (TunnelServer_unregisterTunnel_Params_List) String ¶
func (s TunnelServer_unregisterTunnel_Params_List) String() string
type TunnelServer_unregisterTunnel_Params_Promise ¶
TunnelServer_unregisterTunnel_Params_Promise is a wrapper for a TunnelServer_unregisterTunnel_Params promised by a client call.
func (TunnelServer_unregisterTunnel_Params_Promise) Struct ¶
func (p TunnelServer_unregisterTunnel_Params_Promise) Struct() (TunnelServer_unregisterTunnel_Params, error)
type TunnelServer_unregisterTunnel_Results ¶
func NewRootTunnelServer_unregisterTunnel_Results ¶
func NewRootTunnelServer_unregisterTunnel_Results(s *capnp.Segment) (TunnelServer_unregisterTunnel_Results, error)
func NewTunnelServer_unregisterTunnel_Results ¶
func NewTunnelServer_unregisterTunnel_Results(s *capnp.Segment) (TunnelServer_unregisterTunnel_Results, error)
func ReadRootTunnelServer_unregisterTunnel_Results ¶
func ReadRootTunnelServer_unregisterTunnel_Results(msg *capnp.Message) (TunnelServer_unregisterTunnel_Results, error)
func (TunnelServer_unregisterTunnel_Results) String ¶
func (s TunnelServer_unregisterTunnel_Results) String() string
type TunnelServer_unregisterTunnel_Results_List ¶
TunnelServer_unregisterTunnel_Results_List is a list of TunnelServer_unregisterTunnel_Results.
func NewTunnelServer_unregisterTunnel_Results_List ¶
func NewTunnelServer_unregisterTunnel_Results_List(s *capnp.Segment, sz int32) (TunnelServer_unregisterTunnel_Results_List, error)
NewTunnelServer_unregisterTunnel_Results creates a new list of TunnelServer_unregisterTunnel_Results.
func (TunnelServer_unregisterTunnel_Results_List) Set ¶
func (s TunnelServer_unregisterTunnel_Results_List) Set(i int, v TunnelServer_unregisterTunnel_Results) error
func (TunnelServer_unregisterTunnel_Results_List) String ¶
func (s TunnelServer_unregisterTunnel_Results_List) String() string
type TunnelServer_unregisterTunnel_Results_Promise ¶
TunnelServer_unregisterTunnel_Results_Promise is a wrapper for a TunnelServer_unregisterTunnel_Results promised by a client call.
func (TunnelServer_unregisterTunnel_Results_Promise) Struct ¶
func (p TunnelServer_unregisterTunnel_Results_Promise) Struct() (TunnelServer_unregisterTunnel_Results, error)
type UpdateConfigurationResponse ¶
func NewRootUpdateConfigurationResponse ¶
func NewRootUpdateConfigurationResponse(s *capnp.Segment) (UpdateConfigurationResponse, error)
func NewUpdateConfigurationResponse ¶
func NewUpdateConfigurationResponse(s *capnp.Segment) (UpdateConfigurationResponse, error)
func ReadRootUpdateConfigurationResponse ¶
func ReadRootUpdateConfigurationResponse(msg *capnp.Message) (UpdateConfigurationResponse, error)
func (UpdateConfigurationResponse) Err ¶
func (s UpdateConfigurationResponse) Err() (string, error)
func (UpdateConfigurationResponse) ErrBytes ¶
func (s UpdateConfigurationResponse) ErrBytes() ([]byte, error)
func (UpdateConfigurationResponse) HasErr ¶
func (s UpdateConfigurationResponse) HasErr() bool
func (UpdateConfigurationResponse) LatestAppliedVersion ¶
func (s UpdateConfigurationResponse) LatestAppliedVersion() int32
func (UpdateConfigurationResponse) SetErr ¶
func (s UpdateConfigurationResponse) SetErr(v string) error
func (UpdateConfigurationResponse) SetLatestAppliedVersion ¶
func (s UpdateConfigurationResponse) SetLatestAppliedVersion(v int32)
func (UpdateConfigurationResponse) String ¶
func (s UpdateConfigurationResponse) String() string
type UpdateConfigurationResponse_List ¶
UpdateConfigurationResponse_List is a list of UpdateConfigurationResponse.
func NewUpdateConfigurationResponse_List ¶
func NewUpdateConfigurationResponse_List(s *capnp.Segment, sz int32) (UpdateConfigurationResponse_List, error)
NewUpdateConfigurationResponse creates a new list of UpdateConfigurationResponse.
func (UpdateConfigurationResponse_List) At ¶
func (s UpdateConfigurationResponse_List) At(i int) UpdateConfigurationResponse
func (UpdateConfigurationResponse_List) Set ¶
func (s UpdateConfigurationResponse_List) Set(i int, v UpdateConfigurationResponse) error
func (UpdateConfigurationResponse_List) String ¶
func (s UpdateConfigurationResponse_List) String() string
type UpdateConfigurationResponse_Promise ¶
UpdateConfigurationResponse_Promise is a wrapper for a UpdateConfigurationResponse promised by a client call.
func (UpdateConfigurationResponse_Promise) Struct ¶
func (p UpdateConfigurationResponse_Promise) Struct() (UpdateConfigurationResponse, error)