config

package
v0.0.0-...-a32d5fc Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NATSServerConfig_HostPort_TypeID = 0xd618c87c1da62651

NATSServerConfig_HostPort_TypeID is the unique identifier for the type NATSServerConfig_HostPort.

View Source
const NATSServerConfig_NATSLogLevel_TypeID = 0xcd2ea85dab4af771

NATSServerConfig_NATSLogLevel_TypeID is the unique identifier for the type NATSServerConfig_NATSLogLevel.

View Source
const NATSServerConfig_TypeID = 0xe6c2ada3d6363f58

NATSServerConfig_TypeID is the unique identifier for the type NATSServerConfig.

View Source
const NATSServerConfig_X509KeyPair_TypeID = 0x8ab1c24f4ecb6266

NATSServerConfig_X509KeyPair_TypeID is the unique identifier for the type NATSServerConfig_X509KeyPair.

Variables

This section is empty.

Functions

This section is empty.

Types

type NATSServerConfig

type NATSServerConfig struct{ capnp.Struct }

func NewNATSServerConfig

func NewNATSServerConfig(s *capnp.Segment) (NATSServerConfig, error)

func NewRootNATSServerConfig

func NewRootNATSServerConfig(s *capnp.Segment) (NATSServerConfig, error)

func ReadRootNATSServerConfig

func ReadRootNATSServerConfig(msg *capnp.Message) (NATSServerConfig, error)

func (NATSServerConfig) Cluster

func (NATSServerConfig) ClusterName

func (s NATSServerConfig) ClusterName() (string, error)

func (NATSServerConfig) ClusterNameBytes

func (s NATSServerConfig) ClusterNameBytes() ([]byte, error)

func (NATSServerConfig) ClusterX509KeyPair

func (s NATSServerConfig) ClusterX509KeyPair() (NATSServerConfig_X509KeyPair, error)

func (NATSServerConfig) HasCluster

func (s NATSServerConfig) HasCluster() bool

func (NATSServerConfig) HasClusterName

func (s NATSServerConfig) HasClusterName() bool

func (NATSServerConfig) HasClusterX509KeyPair

func (s NATSServerConfig) HasClusterX509KeyPair() bool

func (NATSServerConfig) HasMonitor

func (s NATSServerConfig) HasMonitor() bool

func (NATSServerConfig) HasRoutes

func (s NATSServerConfig) HasRoutes() bool

func (NATSServerConfig) HasServer

func (s NATSServerConfig) HasServer() bool

func (NATSServerConfig) HasServerX509KeyPair

func (s NATSServerConfig) HasServerX509KeyPair() bool

func (NATSServerConfig) LogLevel

func (NATSServerConfig) MaxConn

func (s NATSServerConfig) MaxConn() int32

func (NATSServerConfig) MaxPayload

func (s NATSServerConfig) MaxPayload() int32

func (NATSServerConfig) MetricsExporterPort

func (s NATSServerConfig) MetricsExporterPort() int32

func (NATSServerConfig) Monitor

func (NATSServerConfig) NewCluster

NewCluster sets the cluster field to a newly allocated NATSServerConfig_HostPort struct, preferring placement in s's segment.

func (NATSServerConfig) NewClusterX509KeyPair

func (s NATSServerConfig) NewClusterX509KeyPair() (NATSServerConfig_X509KeyPair, error)

NewClusterX509KeyPair sets the clusterX509KeyPair field to a newly allocated NATSServerConfig_X509KeyPair struct, preferring placement in s's segment.

func (NATSServerConfig) NewMonitor

NewMonitor sets the monitor field to a newly allocated NATSServerConfig_HostPort struct, preferring placement in s's segment.

func (NATSServerConfig) NewRoutes

func (s NATSServerConfig) NewRoutes(n int32) (capnp.TextList, error)

NewRoutes sets the routes field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (NATSServerConfig) NewServer

NewServer sets the server field to a newly allocated NATSServerConfig_HostPort struct, preferring placement in s's segment.

func (NATSServerConfig) NewServerX509KeyPair

func (s NATSServerConfig) NewServerX509KeyPair() (NATSServerConfig_X509KeyPair, error)

NewServerX509KeyPair sets the serverX509KeyPair field to a newly allocated NATSServerConfig_X509KeyPair struct, preferring placement in s's segment.

func (NATSServerConfig) Routes

func (s NATSServerConfig) Routes() (capnp.TextList, error)

func (NATSServerConfig) Server

func (NATSServerConfig) ServerX509KeyPair

func (s NATSServerConfig) ServerX509KeyPair() (NATSServerConfig_X509KeyPair, error)

func (NATSServerConfig) SetCluster

func (NATSServerConfig) SetClusterName

func (s NATSServerConfig) SetClusterName(v string) error

func (NATSServerConfig) SetClusterX509KeyPair

func (s NATSServerConfig) SetClusterX509KeyPair(v NATSServerConfig_X509KeyPair) error

func (NATSServerConfig) SetLogLevel

func (NATSServerConfig) SetMaxConn

func (s NATSServerConfig) SetMaxConn(v int32)

func (NATSServerConfig) SetMaxPayload

func (s NATSServerConfig) SetMaxPayload(v int32)

func (NATSServerConfig) SetMetricsExporterPort

func (s NATSServerConfig) SetMetricsExporterPort(v int32)

func (NATSServerConfig) SetMonitor

func (NATSServerConfig) SetRoutes

func (s NATSServerConfig) SetRoutes(v capnp.TextList) error

func (NATSServerConfig) SetServer

func (NATSServerConfig) SetServerX509KeyPair

func (s NATSServerConfig) SetServerX509KeyPair(v NATSServerConfig_X509KeyPair) error

func (NATSServerConfig) String

func (s NATSServerConfig) String() string

type NATSServerConfig_HostPort

type NATSServerConfig_HostPort struct{ capnp.Struct }

func NewNATSServerConfig_HostPort

func NewNATSServerConfig_HostPort(s *capnp.Segment) (NATSServerConfig_HostPort, error)

func NewRootNATSServerConfig_HostPort

func NewRootNATSServerConfig_HostPort(s *capnp.Segment) (NATSServerConfig_HostPort, error)

func ReadRootNATSServerConfig_HostPort

func ReadRootNATSServerConfig_HostPort(msg *capnp.Message) (NATSServerConfig_HostPort, error)

func (NATSServerConfig_HostPort) HasHost

func (s NATSServerConfig_HostPort) HasHost() bool

func (NATSServerConfig_HostPort) Host

func (NATSServerConfig_HostPort) HostBytes

func (s NATSServerConfig_HostPort) HostBytes() ([]byte, error)

func (NATSServerConfig_HostPort) Port

func (NATSServerConfig_HostPort) SetHost

func (s NATSServerConfig_HostPort) SetHost(v string) error

func (NATSServerConfig_HostPort) SetPort

func (s NATSServerConfig_HostPort) SetPort(v int32)

func (NATSServerConfig_HostPort) String

func (s NATSServerConfig_HostPort) String() string

type NATSServerConfig_HostPort_List

type NATSServerConfig_HostPort_List struct{ capnp.List }

NATSServerConfig_HostPort_List is a list of NATSServerConfig_HostPort.

func NewNATSServerConfig_HostPort_List

func NewNATSServerConfig_HostPort_List(s *capnp.Segment, sz int32) (NATSServerConfig_HostPort_List, error)

NewNATSServerConfig_HostPort creates a new list of NATSServerConfig_HostPort.

func (NATSServerConfig_HostPort_List) At

func (NATSServerConfig_HostPort_List) Set

func (NATSServerConfig_HostPort_List) String

type NATSServerConfig_HostPort_Promise

type NATSServerConfig_HostPort_Promise struct{ *capnp.Pipeline }

NATSServerConfig_HostPort_Promise is a wrapper for a NATSServerConfig_HostPort promised by a client call.

func (NATSServerConfig_HostPort_Promise) Struct

type NATSServerConfig_List

type NATSServerConfig_List struct{ capnp.List }

NATSServerConfig_List is a list of NATSServerConfig.

func NewNATSServerConfig_List

func NewNATSServerConfig_List(s *capnp.Segment, sz int32) (NATSServerConfig_List, error)

NewNATSServerConfig creates a new list of NATSServerConfig.

func (NATSServerConfig_List) At

func (NATSServerConfig_List) Set

func (NATSServerConfig_List) String

func (s NATSServerConfig_List) String() string

type NATSServerConfig_NATSLogLevel

type NATSServerConfig_NATSLogLevel uint16
const (
	NATSServerConfig_NATSLogLevel_nolog NATSServerConfig_NATSLogLevel = 0
	NATSServerConfig_NATSLogLevel_debug NATSServerConfig_NATSLogLevel = 1
	NATSServerConfig_NATSLogLevel_trace NATSServerConfig_NATSLogLevel = 2
)

Values of NATSServerConfig_NATSLogLevel.

func NATSServerConfig_NATSLogLevelFromString

func NATSServerConfig_NATSLogLevelFromString(c string) NATSServerConfig_NATSLogLevel

NATSServerConfig_NATSLogLevelFromString returns the enum value with a name, or the zero value if there's no such value.

func (NATSServerConfig_NATSLogLevel) String

String returns the enum's constant name.

type NATSServerConfig_NATSLogLevel_List

type NATSServerConfig_NATSLogLevel_List struct{ capnp.List }

func NewNATSServerConfig_NATSLogLevel_List

func NewNATSServerConfig_NATSLogLevel_List(s *capnp.Segment, sz int32) (NATSServerConfig_NATSLogLevel_List, error)

func (NATSServerConfig_NATSLogLevel_List) At

func (NATSServerConfig_NATSLogLevel_List) Set

type NATSServerConfig_Promise

type NATSServerConfig_Promise struct{ *capnp.Pipeline }

NATSServerConfig_Promise is a wrapper for a NATSServerConfig promised by a client call.

func (NATSServerConfig_Promise) Cluster

func (NATSServerConfig_Promise) ClusterX509KeyPair

func (NATSServerConfig_Promise) Monitor

func (NATSServerConfig_Promise) Server

func (NATSServerConfig_Promise) ServerX509KeyPair

func (NATSServerConfig_Promise) Struct

type NATSServerConfig_X509KeyPair

type NATSServerConfig_X509KeyPair struct{ capnp.Struct }

func NewNATSServerConfig_X509KeyPair

func NewNATSServerConfig_X509KeyPair(s *capnp.Segment) (NATSServerConfig_X509KeyPair, error)

func NewRootNATSServerConfig_X509KeyPair

func NewRootNATSServerConfig_X509KeyPair(s *capnp.Segment) (NATSServerConfig_X509KeyPair, error)

func ReadRootNATSServerConfig_X509KeyPair

func ReadRootNATSServerConfig_X509KeyPair(msg *capnp.Message) (NATSServerConfig_X509KeyPair, error)

func (NATSServerConfig_X509KeyPair) CertPEMBlock

func (s NATSServerConfig_X509KeyPair) CertPEMBlock() ([]byte, error)

func (NATSServerConfig_X509KeyPair) HasCertPEMBlock

func (s NATSServerConfig_X509KeyPair) HasCertPEMBlock() bool

func (NATSServerConfig_X509KeyPair) HasKeyPEMBlock

func (s NATSServerConfig_X509KeyPair) HasKeyPEMBlock() bool

func (NATSServerConfig_X509KeyPair) KeyPEMBlock

func (s NATSServerConfig_X509KeyPair) KeyPEMBlock() ([]byte, error)

func (NATSServerConfig_X509KeyPair) SetCertPEMBlock

func (s NATSServerConfig_X509KeyPair) SetCertPEMBlock(v []byte) error

func (NATSServerConfig_X509KeyPair) SetKeyPEMBlock

func (s NATSServerConfig_X509KeyPair) SetKeyPEMBlock(v []byte) error

func (NATSServerConfig_X509KeyPair) String

type NATSServerConfig_X509KeyPair_List

type NATSServerConfig_X509KeyPair_List struct{ capnp.List }

NATSServerConfig_X509KeyPair_List is a list of NATSServerConfig_X509KeyPair.

func NewNATSServerConfig_X509KeyPair_List

func NewNATSServerConfig_X509KeyPair_List(s *capnp.Segment, sz int32) (NATSServerConfig_X509KeyPair_List, error)

NewNATSServerConfig_X509KeyPair creates a new list of NATSServerConfig_X509KeyPair.

func (NATSServerConfig_X509KeyPair_List) At

func (NATSServerConfig_X509KeyPair_List) Set

func (NATSServerConfig_X509KeyPair_List) String

type NATSServerConfig_X509KeyPair_Promise

type NATSServerConfig_X509KeyPair_Promise struct{ *capnp.Pipeline }

NATSServerConfig_X509KeyPair_Promise is a wrapper for a NATSServerConfig_X509KeyPair promised by a client call.

func (NATSServerConfig_X509KeyPair_Promise) Struct

Jump to

Keyboard shortcuts

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