tunnelrpc

package
v0.0.0-...-f274180 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Overview

Package logtransport provides a transport that logs all of its messages.

Index

Constants

View Source
const AuthenticateResponse_TypeID = 0x82c325a07ad22a65

AuthenticateResponse_TypeID is the unique identifier for the type AuthenticateResponse.

View Source
const Authentication_TypeID = 0xc082ef6e0d42ed1d

Authentication_TypeID is the unique identifier for the type Authentication.

View Source
const ClientInfo_TypeID = 0x83ced0145b2f114b

ClientInfo_TypeID is the unique identifier for the type ClientInfo.

View Source
const CloudflaredServer_TypeID = 0xf548cef9dea2a4a1

CloudflaredServer_TypeID is the unique identifier for the type CloudflaredServer.

View Source
const ConfigurationManager_TypeID = 0xb48edfbdaa25db04

ConfigurationManager_TypeID is the unique identifier for the type ConfigurationManager.

View Source
const ConfigurationManager_updateConfiguration_Params_TypeID = 0xb177ca2526a3ca76

ConfigurationManager_updateConfiguration_Params_TypeID is the unique identifier for the type ConfigurationManager_updateConfiguration_Params.

View Source
const ConfigurationManager_updateConfiguration_Results_TypeID = 0x958096448eb3373e

ConfigurationManager_updateConfiguration_Results_TypeID is the unique identifier for the type ConfigurationManager_updateConfiguration_Results.

View Source
const ConnectionDetails_TypeID = 0xb5f39f082b9ac18a

ConnectionDetails_TypeID is the unique identifier for the type ConnectionDetails.

View Source
const ConnectionError_TypeID = 0xf5f383d2785edb86

ConnectionError_TypeID is the unique identifier for the type ConnectionError.

View Source
const ConnectionOptions_TypeID = 0xb4bf9861fe035d04

ConnectionOptions_TypeID is the unique identifier for the type ConnectionOptions.

View Source
const ConnectionResponse_TypeID = 0xdbaa9d03d52b62dc

ConnectionResponse_TypeID is the unique identifier for the type ConnectionResponse.

View Source
const ExistingTunnelPolicy_TypeID = 0x84cb9536a2cf6d3c

ExistingTunnelPolicy_TypeID is the unique identifier for the type ExistingTunnelPolicy.

View Source
const RegisterUdpSessionResponse_TypeID = 0xab6d5210c1f26687

RegisterUdpSessionResponse_TypeID is the unique identifier for the type RegisterUdpSessionResponse.

View Source
const RegistrationOptions_TypeID = 0xc793e50592935b4a

RegistrationOptions_TypeID is the unique identifier for the type RegistrationOptions.

View Source
const RegistrationServer_TypeID = 0xf71695ec7fe85497

RegistrationServer_TypeID is the unique identifier for the type RegistrationServer.

View Source
const RegistrationServer_registerConnection_Params_TypeID = 0xe6646dec8feaa6ee

RegistrationServer_registerConnection_Params_TypeID is the unique identifier for the type RegistrationServer_registerConnection_Params.

View Source
const RegistrationServer_registerConnection_Results_TypeID = 0xea50d822450d1f17

RegistrationServer_registerConnection_Results_TypeID is the unique identifier for the type RegistrationServer_registerConnection_Results.

View Source
const RegistrationServer_unregisterConnection_Params_TypeID = 0xf9cb7f4431a307d0

RegistrationServer_unregisterConnection_Params_TypeID is the unique identifier for the type RegistrationServer_unregisterConnection_Params.

View Source
const RegistrationServer_unregisterConnection_Results_TypeID = 0xb046e578094b1ead

RegistrationServer_unregisterConnection_Results_TypeID is the unique identifier for the type RegistrationServer_unregisterConnection_Results.

View Source
const RegistrationServer_updateLocalConfiguration_Params_TypeID = 0xc5d6e311876a3604

RegistrationServer_updateLocalConfiguration_Params_TypeID is the unique identifier for the type RegistrationServer_updateLocalConfiguration_Params.

View Source
const RegistrationServer_updateLocalConfiguration_Results_TypeID = 0xe5ceae5d6897d7be

RegistrationServer_updateLocalConfiguration_Results_TypeID is the unique identifier for the type RegistrationServer_updateLocalConfiguration_Results.

View Source
const ServerInfo_TypeID = 0xf2c68e2547ec3866

ServerInfo_TypeID is the unique identifier for the type ServerInfo.

View Source
const SessionManager_TypeID = 0x839445a59fb01686

SessionManager_TypeID is the unique identifier for the type SessionManager.

View Source
const SessionManager_registerUdpSession_Params_TypeID = 0x904e297b87fbecea

SessionManager_registerUdpSession_Params_TypeID is the unique identifier for the type SessionManager_registerUdpSession_Params.

View Source
const SessionManager_registerUdpSession_Results_TypeID = 0x8635c6b4f45bf5cd

SessionManager_registerUdpSession_Results_TypeID is the unique identifier for the type SessionManager_registerUdpSession_Results.

View Source
const SessionManager_unregisterUdpSession_Params_TypeID = 0x96b74375ce9b0ef6

SessionManager_unregisterUdpSession_Params_TypeID is the unique identifier for the type SessionManager_unregisterUdpSession_Params.

View Source
const SessionManager_unregisterUdpSession_Results_TypeID = 0xf24ec4ab5891b676

SessionManager_unregisterUdpSession_Results_TypeID is the unique identifier for the type SessionManager_unregisterUdpSession_Results.

View Source
const Tag_TypeID = 0xcbd96442ae3bb01a

Tag_TypeID is the unique identifier for the type Tag.

View Source
const TunnelAuth_TypeID = 0x9496331ab9cd463f

TunnelAuth_TypeID is the unique identifier for the type TunnelAuth.

View Source
const TunnelRegistration_TypeID = 0xf41a0f001ad49e46

TunnelRegistration_TypeID is the unique identifier for the type TunnelRegistration.

View Source
const TunnelServer_TypeID = 0xea58385c65416035

TunnelServer_TypeID is the unique identifier for the type TunnelServer.

View Source
const TunnelServer_authenticate_Params_TypeID = 0x85c8cea1ab1894f3

TunnelServer_authenticate_Params_TypeID is the unique identifier for the type TunnelServer_authenticate_Params.

View Source
const TunnelServer_authenticate_Results_TypeID = 0xfc5edf80e39c0796

TunnelServer_authenticate_Results_TypeID is the unique identifier for the type TunnelServer_authenticate_Results.

View Source
const TunnelServer_getServerInfo_Params_TypeID = 0xdc3ed6801961e502

TunnelServer_getServerInfo_Params_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Params.

View Source
const TunnelServer_getServerInfo_Results_TypeID = 0xe3e37d096a5b564e

TunnelServer_getServerInfo_Results_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Results.

View Source
const TunnelServer_obsoleteDeclarativeTunnelConnect_Params_TypeID = 0xa766b24d4fe5da35

TunnelServer_obsoleteDeclarativeTunnelConnect_Params_TypeID is the unique identifier for the type TunnelServer_obsoleteDeclarativeTunnelConnect_Params.

View Source
const TunnelServer_obsoleteDeclarativeTunnelConnect_Results_TypeID = 0xfeac5c8f4899ef7c

TunnelServer_obsoleteDeclarativeTunnelConnect_Results_TypeID is the unique identifier for the type TunnelServer_obsoleteDeclarativeTunnelConnect_Results.

View Source
const TunnelServer_reconnectTunnel_Params_TypeID = 0xa353a3556df74984

TunnelServer_reconnectTunnel_Params_TypeID is the unique identifier for the type TunnelServer_reconnectTunnel_Params.

View Source
const TunnelServer_reconnectTunnel_Results_TypeID = 0xd4d18de97bb12de3

TunnelServer_reconnectTunnel_Results_TypeID is the unique identifier for the type TunnelServer_reconnectTunnel_Results.

View Source
const TunnelServer_registerTunnel_Params_TypeID = 0xb70431c0dc014915

TunnelServer_registerTunnel_Params_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Params.

View Source
const TunnelServer_registerTunnel_Results_TypeID = 0xf2c122394f447e8e

TunnelServer_registerTunnel_Results_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Results.

View Source
const TunnelServer_unregisterTunnel_Params_TypeID = 0x9b87b390babc2ccf

TunnelServer_unregisterTunnel_Params_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Params.

View Source
const TunnelServer_unregisterTunnel_Results_TypeID = 0xa29a916d4ebdd894

TunnelServer_unregisterTunnel_Results_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Results.

View Source
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 ConnLog

func ConnLog(log *zerolog.Logger) rpc.ConnOption

func ConnTrace

func ConnTrace(events trace.EventLog) rpc.ConnOption

func NewTransportLogger

func NewTransportLogger(log *zerolog.Logger, t rpc.Transport) rpc.Transport

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

type AuthenticateResponse struct{ capnp.Struct }

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

type AuthenticateResponse_List struct{ capnp.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 (AuthenticateResponse_List) Set

func (AuthenticateResponse_List) String

func (s AuthenticateResponse_List) String() string

type AuthenticateResponse_Promise

type AuthenticateResponse_Promise struct{ *capnp.Pipeline }

AuthenticateResponse_Promise is a wrapper for a AuthenticateResponse promised by a client call.

func (AuthenticateResponse_Promise) Struct

type Authentication

type Authentication struct{ capnp.Struct }

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

type Authentication_List struct{ capnp.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 (Authentication_List) Set

func (Authentication_List) String

func (s Authentication_List) String() string

type Authentication_Promise

type Authentication_Promise struct{ *capnp.Pipeline }

Authentication_Promise is a wrapper for a Authentication promised by a client call.

func (Authentication_Promise) Struct

type ClientInfo

type ClientInfo struct{ capnp.Struct }

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) Features

func (s ClientInfo) Features() (capnp.TextList, 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

type ClientInfo_List struct{ capnp.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

type ClientInfo_Promise struct{ *capnp.Pipeline }

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_Server

type CloudflaredServer_Server interface {
	RegisterUdpSession(SessionManager_registerUdpSession) error

	UnregisterUdpSession(SessionManager_unregisterUdpSession) error

	UpdateConfiguration(ConfigurationManager_updateConfiguration) error
}

type ConfigurationManager

type ConfigurationManager struct{ Client capnp.Client }

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

type ConfigurationManager_updateConfiguration_Params struct{ capnp.Struct }

func ReadRootConfigurationManager_updateConfiguration_Params

func ReadRootConfigurationManager_updateConfiguration_Params(msg *capnp.Message) (ConfigurationManager_updateConfiguration_Params, error)

func (ConfigurationManager_updateConfiguration_Params) Config

func (ConfigurationManager_updateConfiguration_Params) HasConfig

func (ConfigurationManager_updateConfiguration_Params) SetConfig

func (ConfigurationManager_updateConfiguration_Params) SetVersion

func (ConfigurationManager_updateConfiguration_Params) String

func (ConfigurationManager_updateConfiguration_Params) Version

type ConfigurationManager_updateConfiguration_Params_List

type ConfigurationManager_updateConfiguration_Params_List struct{ capnp.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) At

func (ConfigurationManager_updateConfiguration_Params_List) Set

func (ConfigurationManager_updateConfiguration_Params_List) String

type ConfigurationManager_updateConfiguration_Params_Promise

type ConfigurationManager_updateConfiguration_Params_Promise struct{ *capnp.Pipeline }

ConfigurationManager_updateConfiguration_Params_Promise is a wrapper for a ConfigurationManager_updateConfiguration_Params promised by a client call.

func (ConfigurationManager_updateConfiguration_Params_Promise) Struct

type ConfigurationManager_updateConfiguration_Results

type ConfigurationManager_updateConfiguration_Results struct{ capnp.Struct }

func ReadRootConfigurationManager_updateConfiguration_Results

func ReadRootConfigurationManager_updateConfiguration_Results(msg *capnp.Message) (ConfigurationManager_updateConfiguration_Results, error)

func (ConfigurationManager_updateConfiguration_Results) HasResult

func (ConfigurationManager_updateConfiguration_Results) NewResult

NewResult sets the result field to a newly allocated UpdateConfigurationResponse struct, preferring placement in s's segment.

func (ConfigurationManager_updateConfiguration_Results) Result

func (ConfigurationManager_updateConfiguration_Results) SetResult

func (ConfigurationManager_updateConfiguration_Results) String

type ConfigurationManager_updateConfiguration_Results_List

type ConfigurationManager_updateConfiguration_Results_List struct{ capnp.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) At

func (ConfigurationManager_updateConfiguration_Results_List) Set

func (ConfigurationManager_updateConfiguration_Results_List) String

type ConfigurationManager_updateConfiguration_Results_Promise

type ConfigurationManager_updateConfiguration_Results_Promise struct{ *capnp.Pipeline }

ConfigurationManager_updateConfiguration_Results_Promise is a wrapper for a ConfigurationManager_updateConfiguration_Results promised by a client call.

func (ConfigurationManager_updateConfiguration_Results_Promise) Result

func (ConfigurationManager_updateConfiguration_Results_Promise) Struct

type ConnLogger

type ConnLogger struct {
	Log *zerolog.Logger
}

ConnLogger wraps a Zerolog Logger for a connection.

func (ConnLogger) Errorf

func (c ConnLogger) Errorf(ctx context.Context, format string, args ...interface{})

func (ConnLogger) Infof

func (c ConnLogger) Infof(ctx context.Context, format string, args ...interface{})

type ConnTracer

type ConnTracer struct {
	Events trace.EventLog
}

ConnTracer wraps a trace.EventLog for a connection.

func (ConnTracer) Errorf

func (c ConnTracer) Errorf(ctx context.Context, format string, args ...interface{})

func (ConnTracer) Infof

func (c ConnTracer) Infof(ctx context.Context, format string, args ...interface{})

type ConnectionDetails

type ConnectionDetails struct{ capnp.Struct }

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

type ConnectionDetails_List struct{ capnp.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 (ConnectionDetails_List) Set

func (ConnectionDetails_List) String

func (s ConnectionDetails_List) String() string

type ConnectionDetails_Promise

type ConnectionDetails_Promise struct{ *capnp.Pipeline }

ConnectionDetails_Promise is a wrapper for a ConnectionDetails promised by a client call.

func (ConnectionDetails_Promise) Struct

type ConnectionError

type ConnectionError struct{ capnp.Struct }

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

type ConnectionError_List struct{ capnp.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 (ConnectionError_List) Set

func (ConnectionError_List) String

func (s ConnectionError_List) String() string

type ConnectionError_Promise

type ConnectionError_Promise struct{ *capnp.Pipeline }

ConnectionError_Promise is a wrapper for a ConnectionError promised by a client call.

func (ConnectionError_Promise) Struct

type ConnectionOptions

type ConnectionOptions struct{ capnp.Struct }

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

type ConnectionOptions_List struct{ capnp.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 (ConnectionOptions_List) Set

func (ConnectionOptions_List) String

func (s ConnectionOptions_List) String() string

type ConnectionOptions_Promise

type ConnectionOptions_Promise struct{ *capnp.Pipeline }

ConnectionOptions_Promise is a wrapper for a ConnectionOptions promised by a client call.

func (ConnectionOptions_Promise) Client

func (ConnectionOptions_Promise) Struct

type ConnectionResponse

type ConnectionResponse struct{ capnp.Struct }

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 (ConnectionResponse) String

func (s ConnectionResponse) String() string

type ConnectionResponse_List

type ConnectionResponse_List struct{ capnp.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 (ConnectionResponse_List) Set

func (ConnectionResponse_List) String

func (s ConnectionResponse_List) String() string

type ConnectionResponse_Promise

type ConnectionResponse_Promise struct{ *capnp.Pipeline }

ConnectionResponse_Promise is a wrapper for a ConnectionResponse promised by a client call.

func (ConnectionResponse_Promise) Result

func (ConnectionResponse_Promise) Struct

type ConnectionResponse_result

type ConnectionResponse_result ConnectionResponse

func (ConnectionResponse_result) ConnectionDetails

func (s ConnectionResponse_result) ConnectionDetails() (ConnectionDetails, error)

func (ConnectionResponse_result) 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

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 (ConnectionResponse_result) Which

type ConnectionResponse_result_Promise

type ConnectionResponse_result_Promise struct{ *capnp.Pipeline }

ConnectionResponse_result_Promise is a wrapper for a ConnectionResponse_result promised by a client call.

func (ConnectionResponse_result_Promise) ConnectionDetails

func (ConnectionResponse_result_Promise) Error

func (ConnectionResponse_result_Promise) Struct

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

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

type ExistingTunnelPolicy_List struct{ capnp.List }

func NewExistingTunnelPolicy_List

func NewExistingTunnelPolicy_List(s *capnp.Segment, sz int32) (ExistingTunnelPolicy_List, error)

func (ExistingTunnelPolicy_List) At

func (ExistingTunnelPolicy_List) Set

type RegisterUdpSessionResponse

type RegisterUdpSessionResponse struct{ capnp.Struct }

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 (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 (RegisterUdpSessionResponse) SetSpans

func (s RegisterUdpSessionResponse) SetSpans(v []byte) error

func (RegisterUdpSessionResponse) Spans

func (s RegisterUdpSessionResponse) Spans() ([]byte, error)

func (RegisterUdpSessionResponse) String

type RegisterUdpSessionResponse_List

type RegisterUdpSessionResponse_List struct{ capnp.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 (RegisterUdpSessionResponse_List) Set

func (RegisterUdpSessionResponse_List) String

type RegisterUdpSessionResponse_Promise

type RegisterUdpSessionResponse_Promise struct{ *capnp.Pipeline }

RegisterUdpSessionResponse_Promise is a wrapper for a RegisterUdpSessionResponse promised by a client call.

func (RegisterUdpSessionResponse_Promise) Struct

type RegistrationOptions

type RegistrationOptions struct{ capnp.Struct }

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

type RegistrationOptions_List struct{ capnp.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 (RegistrationOptions_List) Set

func (RegistrationOptions_List) String

func (s RegistrationOptions_List) String() string

type RegistrationOptions_Promise

type RegistrationOptions_Promise struct{ *capnp.Pipeline }

RegistrationOptions_Promise is a wrapper for a RegistrationOptions promised by a client call.

func (RegistrationOptions_Promise) Struct

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

type RegistrationServer_registerConnection_Params struct{ capnp.Struct }

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 (RegistrationServer_registerConnection_Params) ConnIndex

func (RegistrationServer_registerConnection_Params) HasAuth

func (RegistrationServer_registerConnection_Params) HasOptions

func (RegistrationServer_registerConnection_Params) HasTunnelId

func (RegistrationServer_registerConnection_Params) NewAuth

NewAuth sets the auth field to a newly allocated TunnelAuth struct, preferring placement in s's segment.

func (RegistrationServer_registerConnection_Params) NewOptions

NewOptions sets the options field to a newly allocated ConnectionOptions struct, preferring placement in s's segment.

func (RegistrationServer_registerConnection_Params) Options

func (RegistrationServer_registerConnection_Params) SetAuth

func (RegistrationServer_registerConnection_Params) SetConnIndex

func (RegistrationServer_registerConnection_Params) SetOptions

func (RegistrationServer_registerConnection_Params) SetTunnelId

func (RegistrationServer_registerConnection_Params) String

func (RegistrationServer_registerConnection_Params) TunnelId

type RegistrationServer_registerConnection_Params_List

type RegistrationServer_registerConnection_Params_List struct{ capnp.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) At

func (RegistrationServer_registerConnection_Params_List) Set

func (RegistrationServer_registerConnection_Params_List) String

type RegistrationServer_registerConnection_Params_Promise

type RegistrationServer_registerConnection_Params_Promise struct{ *capnp.Pipeline }

RegistrationServer_registerConnection_Params_Promise is a wrapper for a RegistrationServer_registerConnection_Params promised by a client call.

func (RegistrationServer_registerConnection_Params_Promise) Auth

func (RegistrationServer_registerConnection_Params_Promise) Options

func (RegistrationServer_registerConnection_Params_Promise) Struct

type RegistrationServer_registerConnection_Results

type RegistrationServer_registerConnection_Results struct{ capnp.Struct }

func ReadRootRegistrationServer_registerConnection_Results

func ReadRootRegistrationServer_registerConnection_Results(msg *capnp.Message) (RegistrationServer_registerConnection_Results, error)

func (RegistrationServer_registerConnection_Results) HasResult

func (RegistrationServer_registerConnection_Results) NewResult

NewResult sets the result field to a newly allocated ConnectionResponse struct, preferring placement in s's segment.

func (RegistrationServer_registerConnection_Results) Result

func (RegistrationServer_registerConnection_Results) SetResult

func (RegistrationServer_registerConnection_Results) String

type RegistrationServer_registerConnection_Results_List

type RegistrationServer_registerConnection_Results_List struct{ capnp.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) At

func (RegistrationServer_registerConnection_Results_List) Set

func (RegistrationServer_registerConnection_Results_List) String

type RegistrationServer_registerConnection_Results_Promise

type RegistrationServer_registerConnection_Results_Promise struct{ *capnp.Pipeline }

RegistrationServer_registerConnection_Results_Promise is a wrapper for a RegistrationServer_registerConnection_Results promised by a client call.

func (RegistrationServer_registerConnection_Results_Promise) Result

func (RegistrationServer_registerConnection_Results_Promise) Struct

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

type RegistrationServer_unregisterConnection_Params struct{ capnp.Struct }

func ReadRootRegistrationServer_unregisterConnection_Params

func ReadRootRegistrationServer_unregisterConnection_Params(msg *capnp.Message) (RegistrationServer_unregisterConnection_Params, error)

func (RegistrationServer_unregisterConnection_Params) String

type RegistrationServer_unregisterConnection_Params_List

type RegistrationServer_unregisterConnection_Params_List struct{ capnp.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) At

func (RegistrationServer_unregisterConnection_Params_List) Set

func (RegistrationServer_unregisterConnection_Params_List) String

type RegistrationServer_unregisterConnection_Params_Promise

type RegistrationServer_unregisterConnection_Params_Promise struct{ *capnp.Pipeline }

RegistrationServer_unregisterConnection_Params_Promise is a wrapper for a RegistrationServer_unregisterConnection_Params promised by a client call.

func (RegistrationServer_unregisterConnection_Params_Promise) Struct

type RegistrationServer_unregisterConnection_Results

type RegistrationServer_unregisterConnection_Results struct{ capnp.Struct }

func ReadRootRegistrationServer_unregisterConnection_Results

func ReadRootRegistrationServer_unregisterConnection_Results(msg *capnp.Message) (RegistrationServer_unregisterConnection_Results, error)

func (RegistrationServer_unregisterConnection_Results) String

type RegistrationServer_unregisterConnection_Results_List

type RegistrationServer_unregisterConnection_Results_List struct{ capnp.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) At

func (RegistrationServer_unregisterConnection_Results_List) Set

func (RegistrationServer_unregisterConnection_Results_List) String

type RegistrationServer_unregisterConnection_Results_Promise

type RegistrationServer_unregisterConnection_Results_Promise struct{ *capnp.Pipeline }

RegistrationServer_unregisterConnection_Results_Promise is a wrapper for a RegistrationServer_unregisterConnection_Results promised by a client call.

func (RegistrationServer_unregisterConnection_Results_Promise) Struct

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

type RegistrationServer_updateLocalConfiguration_Params struct{ capnp.Struct }

func ReadRootRegistrationServer_updateLocalConfiguration_Params

func ReadRootRegistrationServer_updateLocalConfiguration_Params(msg *capnp.Message) (RegistrationServer_updateLocalConfiguration_Params, error)

func (RegistrationServer_updateLocalConfiguration_Params) Config

func (RegistrationServer_updateLocalConfiguration_Params) HasConfig

func (RegistrationServer_updateLocalConfiguration_Params) SetConfig

func (RegistrationServer_updateLocalConfiguration_Params) String

type RegistrationServer_updateLocalConfiguration_Params_List

type RegistrationServer_updateLocalConfiguration_Params_List struct{ capnp.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) At

func (RegistrationServer_updateLocalConfiguration_Params_List) Set

func (RegistrationServer_updateLocalConfiguration_Params_List) String

type RegistrationServer_updateLocalConfiguration_Params_Promise

type RegistrationServer_updateLocalConfiguration_Params_Promise struct{ *capnp.Pipeline }

RegistrationServer_updateLocalConfiguration_Params_Promise is a wrapper for a RegistrationServer_updateLocalConfiguration_Params promised by a client call.

func (RegistrationServer_updateLocalConfiguration_Params_Promise) Struct

type RegistrationServer_updateLocalConfiguration_Results

type RegistrationServer_updateLocalConfiguration_Results struct{ capnp.Struct }

func ReadRootRegistrationServer_updateLocalConfiguration_Results

func ReadRootRegistrationServer_updateLocalConfiguration_Results(msg *capnp.Message) (RegistrationServer_updateLocalConfiguration_Results, error)

func (RegistrationServer_updateLocalConfiguration_Results) String

type RegistrationServer_updateLocalConfiguration_Results_List

type RegistrationServer_updateLocalConfiguration_Results_List struct{ capnp.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) At

func (RegistrationServer_updateLocalConfiguration_Results_List) Set

func (RegistrationServer_updateLocalConfiguration_Results_List) String

type RegistrationServer_updateLocalConfiguration_Results_Promise

type RegistrationServer_updateLocalConfiguration_Results_Promise struct{ *capnp.Pipeline }

RegistrationServer_updateLocalConfiguration_Results_Promise is a wrapper for a RegistrationServer_updateLocalConfiguration_Results promised by a client call.

func (RegistrationServer_updateLocalConfiguration_Results_Promise) Struct

type ServerInfo

type ServerInfo struct{ capnp.Struct }

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

type ServerInfo_List struct{ capnp.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

type ServerInfo_Promise struct{ *capnp.Pipeline }

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_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

type SessionManager_registerUdpSession_Params struct{ capnp.Struct }

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 (SessionManager_registerUdpSession_Params) DstPort

func (SessionManager_registerUdpSession_Params) HasDstIp

func (SessionManager_registerUdpSession_Params) HasSessionId

func (SessionManager_registerUdpSession_Params) HasTraceContext

func (s SessionManager_registerUdpSession_Params) HasTraceContext() bool

func (SessionManager_registerUdpSession_Params) SessionId

func (SessionManager_registerUdpSession_Params) SetCloseAfterIdleHint

func (s SessionManager_registerUdpSession_Params) SetCloseAfterIdleHint(v int64)

func (SessionManager_registerUdpSession_Params) SetDstIp

func (SessionManager_registerUdpSession_Params) SetDstPort

func (SessionManager_registerUdpSession_Params) SetSessionId

func (SessionManager_registerUdpSession_Params) SetTraceContext

func (SessionManager_registerUdpSession_Params) String

func (SessionManager_registerUdpSession_Params) TraceContext

func (SessionManager_registerUdpSession_Params) TraceContextBytes

func (s SessionManager_registerUdpSession_Params) TraceContextBytes() ([]byte, error)

type SessionManager_registerUdpSession_Params_List

type SessionManager_registerUdpSession_Params_List struct{ capnp.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) At

func (SessionManager_registerUdpSession_Params_List) Set

func (SessionManager_registerUdpSession_Params_List) String

type SessionManager_registerUdpSession_Params_Promise

type SessionManager_registerUdpSession_Params_Promise struct{ *capnp.Pipeline }

SessionManager_registerUdpSession_Params_Promise is a wrapper for a SessionManager_registerUdpSession_Params promised by a client call.

func (SessionManager_registerUdpSession_Params_Promise) Struct

type SessionManager_registerUdpSession_Results

type SessionManager_registerUdpSession_Results struct{ capnp.Struct }

func NewRootSessionManager_registerUdpSession_Results

func NewRootSessionManager_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 (SessionManager_registerUdpSession_Results) NewResult

NewResult sets the result field to a newly allocated RegisterUdpSessionResponse struct, preferring placement in s's segment.

func (SessionManager_registerUdpSession_Results) Result

func (SessionManager_registerUdpSession_Results) SetResult

func (SessionManager_registerUdpSession_Results) String

type SessionManager_registerUdpSession_Results_List

type SessionManager_registerUdpSession_Results_List struct{ capnp.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) At

func (SessionManager_registerUdpSession_Results_List) Set

func (SessionManager_registerUdpSession_Results_List) String

type SessionManager_registerUdpSession_Results_Promise

type SessionManager_registerUdpSession_Results_Promise struct{ *capnp.Pipeline }

SessionManager_registerUdpSession_Results_Promise is a wrapper for a SessionManager_registerUdpSession_Results promised by a client call.

func (SessionManager_registerUdpSession_Results_Promise) Result

func (SessionManager_registerUdpSession_Results_Promise) Struct

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

type SessionManager_unregisterUdpSession_Params struct{ capnp.Struct }

func NewRootSessionManager_unregisterUdpSession_Params

func NewRootSessionManager_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 (SessionManager_unregisterUdpSession_Params) HasSessionId

func (SessionManager_unregisterUdpSession_Params) Message

func (SessionManager_unregisterUdpSession_Params) MessageBytes

func (SessionManager_unregisterUdpSession_Params) SessionId

func (SessionManager_unregisterUdpSession_Params) SetMessage

func (SessionManager_unregisterUdpSession_Params) SetSessionId

func (SessionManager_unregisterUdpSession_Params) String

type SessionManager_unregisterUdpSession_Params_List

type SessionManager_unregisterUdpSession_Params_List struct{ capnp.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) At

func (SessionManager_unregisterUdpSession_Params_List) Set

func (SessionManager_unregisterUdpSession_Params_List) String

type SessionManager_unregisterUdpSession_Params_Promise

type SessionManager_unregisterUdpSession_Params_Promise struct{ *capnp.Pipeline }

SessionManager_unregisterUdpSession_Params_Promise is a wrapper for a SessionManager_unregisterUdpSession_Params promised by a client call.

func (SessionManager_unregisterUdpSession_Params_Promise) Struct

type SessionManager_unregisterUdpSession_Results

type SessionManager_unregisterUdpSession_Results struct{ capnp.Struct }

func NewRootSessionManager_unregisterUdpSession_Results

func NewRootSessionManager_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

type SessionManager_unregisterUdpSession_Results_List

type SessionManager_unregisterUdpSession_Results_List struct{ capnp.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) At

func (SessionManager_unregisterUdpSession_Results_List) Set

func (SessionManager_unregisterUdpSession_Results_List) String

type SessionManager_unregisterUdpSession_Results_Promise

type SessionManager_unregisterUdpSession_Results_Promise struct{ *capnp.Pipeline }

SessionManager_unregisterUdpSession_Results_Promise is a wrapper for a SessionManager_unregisterUdpSession_Results promised by a client call.

func (SessionManager_unregisterUdpSession_Results_Promise) Struct

type Tag

type Tag struct{ capnp.Struct }

func NewRootTag

func NewRootTag(s *capnp.Segment) (Tag, error)

func NewTag

func NewTag(s *capnp.Segment) (Tag, error)

func ReadRootTag

func ReadRootTag(msg *capnp.Message) (Tag, error)

func (Tag) HasName

func (s Tag) HasName() bool

func (Tag) HasValue

func (s Tag) HasValue() bool

func (Tag) Name

func (s Tag) Name() (string, error)

func (Tag) NameBytes

func (s Tag) NameBytes() ([]byte, error)

func (Tag) SetName

func (s Tag) SetName(v string) error

func (Tag) SetValue

func (s Tag) SetValue(v string) error

func (Tag) String

func (s Tag) String() string

func (Tag) Value

func (s Tag) Value() (string, error)

func (Tag) ValueBytes

func (s Tag) ValueBytes() ([]byte, error)

type Tag_List

type Tag_List struct{ capnp.List }

Tag_List is a list of Tag.

func NewTag_List

func NewTag_List(s *capnp.Segment, sz int32) (Tag_List, error)

NewTag creates a new list of Tag.

func (Tag_List) At

func (s Tag_List) At(i int) Tag

func (Tag_List) Set

func (s Tag_List) Set(i int, v Tag) error

func (Tag_List) String

func (s Tag_List) String() string

type Tag_Promise

type Tag_Promise struct{ *capnp.Pipeline }

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

type TunnelAuth struct{ capnp.Struct }

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

type TunnelAuth_List struct{ capnp.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

type TunnelAuth_Promise struct{ *capnp.Pipeline }

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

type TunnelRegistration struct{ capnp.Struct }

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) LogLines

func (s TunnelRegistration) LogLines() (capnp.TextList, error)

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

type TunnelRegistration_List struct{ capnp.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 (TunnelRegistration_List) Set

func (TunnelRegistration_List) String

func (s TunnelRegistration_List) String() string

type TunnelRegistration_Promise

type TunnelRegistration_Promise struct{ *capnp.Pipeline }

TunnelRegistration_Promise is a wrapper for a TunnelRegistration promised by a client call.

func (TunnelRegistration_Promise) Struct

type TunnelServer

type TunnelServer struct{ Client capnp.Client }

func TunnelServer_ServerToClient

func TunnelServer_ServerToClient(s TunnelServer_Server) TunnelServer

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

type TunnelServer_authenticate_Params struct{ capnp.Struct }

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 (TunnelServer_authenticate_Params) HostnameBytes

func (s TunnelServer_authenticate_Params) HostnameBytes() ([]byte, error)

func (TunnelServer_authenticate_Params) NewOptions

NewOptions sets the options field to a newly allocated RegistrationOptions struct, preferring placement in s's segment.

func (TunnelServer_authenticate_Params) Options

func (TunnelServer_authenticate_Params) OriginCert

func (s TunnelServer_authenticate_Params) OriginCert() ([]byte, error)

func (TunnelServer_authenticate_Params) SetHostname

func (TunnelServer_authenticate_Params) SetOptions

func (TunnelServer_authenticate_Params) SetOriginCert

func (s TunnelServer_authenticate_Params) SetOriginCert(v []byte) error

func (TunnelServer_authenticate_Params) String

type TunnelServer_authenticate_Params_List

type TunnelServer_authenticate_Params_List struct{ capnp.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) At

func (TunnelServer_authenticate_Params_List) Set

func (TunnelServer_authenticate_Params_List) String

type TunnelServer_authenticate_Params_Promise

type TunnelServer_authenticate_Params_Promise struct{ *capnp.Pipeline }

TunnelServer_authenticate_Params_Promise is a wrapper for a TunnelServer_authenticate_Params promised by a client call.

func (TunnelServer_authenticate_Params_Promise) Options

func (TunnelServer_authenticate_Params_Promise) Struct

type TunnelServer_authenticate_Results

type TunnelServer_authenticate_Results struct{ capnp.Struct }

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 (TunnelServer_authenticate_Results) NewResult

NewResult sets the result field to a newly allocated AuthenticateResponse struct, preferring placement in s's segment.

func (TunnelServer_authenticate_Results) Result

func (TunnelServer_authenticate_Results) SetResult

func (TunnelServer_authenticate_Results) String

type TunnelServer_authenticate_Results_List

type TunnelServer_authenticate_Results_List struct{ capnp.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) At

func (TunnelServer_authenticate_Results_List) Set

func (TunnelServer_authenticate_Results_List) String

type TunnelServer_authenticate_Results_Promise

type TunnelServer_authenticate_Results_Promise struct{ *capnp.Pipeline }

TunnelServer_authenticate_Results_Promise is a wrapper for a TunnelServer_authenticate_Results promised by a client call.

func (TunnelServer_authenticate_Results_Promise) Result

func (TunnelServer_authenticate_Results_Promise) Struct

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

type TunnelServer_getServerInfo_Params struct{ capnp.Struct }

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

type TunnelServer_getServerInfo_Params_List

type TunnelServer_getServerInfo_Params_List struct{ capnp.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) At

func (TunnelServer_getServerInfo_Params_List) Set

func (TunnelServer_getServerInfo_Params_List) String

type TunnelServer_getServerInfo_Params_Promise

type TunnelServer_getServerInfo_Params_Promise struct{ *capnp.Pipeline }

TunnelServer_getServerInfo_Params_Promise is a wrapper for a TunnelServer_getServerInfo_Params promised by a client call.

func (TunnelServer_getServerInfo_Params_Promise) Struct

type TunnelServer_getServerInfo_Results

type TunnelServer_getServerInfo_Results struct{ capnp.Struct }

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 (TunnelServer_getServerInfo_Results) NewResult

NewResult sets the result field to a newly allocated ServerInfo struct, preferring placement in s's segment.

func (TunnelServer_getServerInfo_Results) Result

func (TunnelServer_getServerInfo_Results) SetResult

func (TunnelServer_getServerInfo_Results) String

type TunnelServer_getServerInfo_Results_List

type TunnelServer_getServerInfo_Results_List struct{ capnp.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) At

func (TunnelServer_getServerInfo_Results_List) Set

func (TunnelServer_getServerInfo_Results_List) String

type TunnelServer_getServerInfo_Results_Promise

type TunnelServer_getServerInfo_Results_Promise struct{ *capnp.Pipeline }

TunnelServer_getServerInfo_Results_Promise is a wrapper for a TunnelServer_getServerInfo_Results promised by a client call.

func (TunnelServer_getServerInfo_Results_Promise) Result

func (TunnelServer_getServerInfo_Results_Promise) Struct

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

type TunnelServer_obsoleteDeclarativeTunnelConnect_Params struct{ capnp.Struct }

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Params) String

type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List

type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List struct{ capnp.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) At

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List) Set

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Params_List) String

type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise

type TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise struct{ *capnp.Pipeline }

TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise is a wrapper for a TunnelServer_obsoleteDeclarativeTunnelConnect_Params promised by a client call.

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Params_Promise) Struct

type TunnelServer_obsoleteDeclarativeTunnelConnect_Results

type TunnelServer_obsoleteDeclarativeTunnelConnect_Results struct{ capnp.Struct }

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Results) String

type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List

type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List struct{ capnp.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) At

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List) Set

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Results_List) String

type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise

type TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise struct{ *capnp.Pipeline }

TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise is a wrapper for a TunnelServer_obsoleteDeclarativeTunnelConnect_Results promised by a client call.

func (TunnelServer_obsoleteDeclarativeTunnelConnect_Results_Promise) Struct

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

type TunnelServer_reconnectTunnel_Params struct{ capnp.Struct }

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 (TunnelServer_reconnectTunnel_Params) HasOptions

func (TunnelServer_reconnectTunnel_Params) Hostname

func (TunnelServer_reconnectTunnel_Params) HostnameBytes

func (s TunnelServer_reconnectTunnel_Params) HostnameBytes() ([]byte, error)

func (TunnelServer_reconnectTunnel_Params) Jwt

func (TunnelServer_reconnectTunnel_Params) NewOptions

NewOptions sets the options field to a newly allocated RegistrationOptions struct, preferring placement in s's segment.

func (TunnelServer_reconnectTunnel_Params) Options

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 (TunnelServer_reconnectTunnel_Params) SetJwt

func (TunnelServer_reconnectTunnel_Params) SetOptions

func (TunnelServer_reconnectTunnel_Params) String

type TunnelServer_reconnectTunnel_Params_List

type TunnelServer_reconnectTunnel_Params_List struct{ capnp.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) At

func (TunnelServer_reconnectTunnel_Params_List) Set

func (TunnelServer_reconnectTunnel_Params_List) String

type TunnelServer_reconnectTunnel_Params_Promise

type TunnelServer_reconnectTunnel_Params_Promise struct{ *capnp.Pipeline }

TunnelServer_reconnectTunnel_Params_Promise is a wrapper for a TunnelServer_reconnectTunnel_Params promised by a client call.

func (TunnelServer_reconnectTunnel_Params_Promise) Options

func (TunnelServer_reconnectTunnel_Params_Promise) Struct

type TunnelServer_reconnectTunnel_Results

type TunnelServer_reconnectTunnel_Results struct{ capnp.Struct }

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 (TunnelServer_reconnectTunnel_Results) NewResult

NewResult sets the result field to a newly allocated TunnelRegistration struct, preferring placement in s's segment.

func (TunnelServer_reconnectTunnel_Results) Result

func (TunnelServer_reconnectTunnel_Results) SetResult

func (TunnelServer_reconnectTunnel_Results) String

type TunnelServer_reconnectTunnel_Results_List

type TunnelServer_reconnectTunnel_Results_List struct{ capnp.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) At

func (TunnelServer_reconnectTunnel_Results_List) Set

func (TunnelServer_reconnectTunnel_Results_List) String

type TunnelServer_reconnectTunnel_Results_Promise

type TunnelServer_reconnectTunnel_Results_Promise struct{ *capnp.Pipeline }

TunnelServer_reconnectTunnel_Results_Promise is a wrapper for a TunnelServer_reconnectTunnel_Results promised by a client call.

func (TunnelServer_reconnectTunnel_Results_Promise) Result

func (TunnelServer_reconnectTunnel_Results_Promise) Struct

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

type TunnelServer_registerTunnel_Params struct{ capnp.Struct }

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 (TunnelServer_registerTunnel_Params) HasOriginCert

func (s TunnelServer_registerTunnel_Params) HasOriginCert() bool

func (TunnelServer_registerTunnel_Params) Hostname

func (TunnelServer_registerTunnel_Params) HostnameBytes

func (s TunnelServer_registerTunnel_Params) HostnameBytes() ([]byte, error)

func (TunnelServer_registerTunnel_Params) NewOptions

NewOptions sets the options field to a newly allocated RegistrationOptions struct, preferring placement in s's segment.

func (TunnelServer_registerTunnel_Params) Options

func (TunnelServer_registerTunnel_Params) OriginCert

func (s TunnelServer_registerTunnel_Params) OriginCert() ([]byte, error)

func (TunnelServer_registerTunnel_Params) SetHostname

func (TunnelServer_registerTunnel_Params) SetOptions

func (TunnelServer_registerTunnel_Params) SetOriginCert

func (s TunnelServer_registerTunnel_Params) SetOriginCert(v []byte) error

func (TunnelServer_registerTunnel_Params) String

type TunnelServer_registerTunnel_Params_List

type TunnelServer_registerTunnel_Params_List struct{ capnp.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) At

func (TunnelServer_registerTunnel_Params_List) Set

func (TunnelServer_registerTunnel_Params_List) String

type TunnelServer_registerTunnel_Params_Promise

type TunnelServer_registerTunnel_Params_Promise struct{ *capnp.Pipeline }

TunnelServer_registerTunnel_Params_Promise is a wrapper for a TunnelServer_registerTunnel_Params promised by a client call.

func (TunnelServer_registerTunnel_Params_Promise) Options

func (TunnelServer_registerTunnel_Params_Promise) Struct

type TunnelServer_registerTunnel_Results

type TunnelServer_registerTunnel_Results struct{ capnp.Struct }

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 (TunnelServer_registerTunnel_Results) NewResult

NewResult sets the result field to a newly allocated TunnelRegistration struct, preferring placement in s's segment.

func (TunnelServer_registerTunnel_Results) Result

func (TunnelServer_registerTunnel_Results) SetResult

func (TunnelServer_registerTunnel_Results) String

type TunnelServer_registerTunnel_Results_List

type TunnelServer_registerTunnel_Results_List struct{ capnp.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) At

func (TunnelServer_registerTunnel_Results_List) Set

func (TunnelServer_registerTunnel_Results_List) String

type TunnelServer_registerTunnel_Results_Promise

type TunnelServer_registerTunnel_Results_Promise struct{ *capnp.Pipeline }

TunnelServer_registerTunnel_Results_Promise is a wrapper for a TunnelServer_registerTunnel_Results promised by a client call.

func (TunnelServer_registerTunnel_Results_Promise) Result

func (TunnelServer_registerTunnel_Results_Promise) Struct

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

type TunnelServer_unregisterTunnel_Params struct{ capnp.Struct }

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

type TunnelServer_unregisterTunnel_Params_List

type TunnelServer_unregisterTunnel_Params_List struct{ capnp.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) At

func (TunnelServer_unregisterTunnel_Params_List) Set

func (TunnelServer_unregisterTunnel_Params_List) String

type TunnelServer_unregisterTunnel_Params_Promise

type TunnelServer_unregisterTunnel_Params_Promise struct{ *capnp.Pipeline }

TunnelServer_unregisterTunnel_Params_Promise is a wrapper for a TunnelServer_unregisterTunnel_Params promised by a client call.

func (TunnelServer_unregisterTunnel_Params_Promise) Struct

type TunnelServer_unregisterTunnel_Results

type TunnelServer_unregisterTunnel_Results struct{ capnp.Struct }

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

type TunnelServer_unregisterTunnel_Results_List

type TunnelServer_unregisterTunnel_Results_List struct{ capnp.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) At

func (TunnelServer_unregisterTunnel_Results_List) Set

func (TunnelServer_unregisterTunnel_Results_List) String

type TunnelServer_unregisterTunnel_Results_Promise

type TunnelServer_unregisterTunnel_Results_Promise struct{ *capnp.Pipeline }

TunnelServer_unregisterTunnel_Results_Promise is a wrapper for a TunnelServer_unregisterTunnel_Results promised by a client call.

func (TunnelServer_unregisterTunnel_Results_Promise) Struct

type UpdateConfigurationResponse

type UpdateConfigurationResponse struct{ capnp.Struct }

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 (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 (UpdateConfigurationResponse) SetLatestAppliedVersion

func (s UpdateConfigurationResponse) SetLatestAppliedVersion(v int32)

func (UpdateConfigurationResponse) String

type UpdateConfigurationResponse_List

type UpdateConfigurationResponse_List struct{ capnp.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 (UpdateConfigurationResponse_List) Set

func (UpdateConfigurationResponse_List) String

type UpdateConfigurationResponse_Promise

type UpdateConfigurationResponse_Promise struct{ *capnp.Pipeline }

UpdateConfigurationResponse_Promise is a wrapper for a UpdateConfigurationResponse promised by a client call.

func (UpdateConfigurationResponse_Promise) Struct

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL