testcfg

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service1Config

type Service1Config struct {
	Str1                 string   `protobuf:"bytes,1,opt,name=str1,proto3" json:"str1,omitempty"`
	Str2                 string   `protobuf:"bytes,2,opt,name=str2,proto3" json:"str2,omitempty"`
	Uint1                uint32   `protobuf:"varint,3,opt,name=uint1,proto3" json:"uint1,omitempty"`
	Uint2                uint32   `protobuf:"varint,4,opt,name=uint2,proto3" json:"uint2,omitempty"`
	StrArr               []string `protobuf:"bytes,5,rep,name=str_arr,json=strArr,proto3" json:"str_arr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

------------------------------------------------------------------------------ Service 1 configs ------------------------------------------------------------------------------

func (*Service1Config) Descriptor

func (*Service1Config) Descriptor() ([]byte, []int)

func (*Service1Config) GetStr1

func (m *Service1Config) GetStr1() string

func (*Service1Config) GetStr2

func (m *Service1Config) GetStr2() string

func (*Service1Config) GetStrArr

func (m *Service1Config) GetStrArr() []string

func (*Service1Config) GetUint1

func (m *Service1Config) GetUint1() uint32

func (*Service1Config) GetUint2

func (m *Service1Config) GetUint2() uint32

func (*Service1Config) ProtoMessage

func (*Service1Config) ProtoMessage()

func (*Service1Config) Reset

func (m *Service1Config) Reset()

func (*Service1Config) String

func (m *Service1Config) String() string

func (*Service1Config) XXX_DiscardUnknown

func (m *Service1Config) XXX_DiscardUnknown()

func (*Service1Config) XXX_Marshal

func (m *Service1Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service1Config) XXX_Merge

func (m *Service1Config) XXX_Merge(src proto.Message)

func (*Service1Config) XXX_Size

func (m *Service1Config) XXX_Size() int

func (*Service1Config) XXX_Unmarshal

func (m *Service1Config) XXX_Unmarshal(b []byte) error

type Service2Config

type Service2Config struct {
	Str21                string   `protobuf:"bytes,1,opt,name=str21,proto3" json:"str21,omitempty"`
	Str22                string   `protobuf:"bytes,2,opt,name=str22,proto3" json:"str22,omitempty"`
	Uint21               uint32   `protobuf:"varint,3,opt,name=uint21,proto3" json:"uint21,omitempty"`
	Uint22               uint32   `protobuf:"varint,4,opt,name=uint22,proto3" json:"uint22,omitempty"`
	Float1               float32  `protobuf:"fixed32,5,opt,name=float1,proto3" json:"float1,omitempty"`
	Bool1                bool     `protobuf:"varint,6,opt,name=bool1,proto3" json:"bool1,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

------------------------------------------------------------------------------ Service 1 configs ------------------------------------------------------------------------------

func (*Service2Config) Descriptor

func (*Service2Config) Descriptor() ([]byte, []int)

func (*Service2Config) GetBool1

func (m *Service2Config) GetBool1() bool

func (*Service2Config) GetFloat1

func (m *Service2Config) GetFloat1() float32

func (*Service2Config) GetStr21

func (m *Service2Config) GetStr21() string

func (*Service2Config) GetStr22

func (m *Service2Config) GetStr22() string

func (*Service2Config) GetUint21

func (m *Service2Config) GetUint21() uint32

func (*Service2Config) GetUint22

func (m *Service2Config) GetUint22() uint32

func (*Service2Config) ProtoMessage

func (*Service2Config) ProtoMessage()

func (*Service2Config) Reset

func (m *Service2Config) Reset()

func (*Service2Config) String

func (m *Service2Config) String() string

func (*Service2Config) XXX_DiscardUnknown

func (m *Service2Config) XXX_DiscardUnknown()

func (*Service2Config) XXX_Marshal

func (m *Service2Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service2Config) XXX_Merge

func (m *Service2Config) XXX_Merge(src proto.Message)

func (*Service2Config) XXX_Size

func (m *Service2Config) XXX_Size() int

func (*Service2Config) XXX_Unmarshal

func (m *Service2Config) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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