conf

package
v0.0.0-...-5b7c39b Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_conf_conf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
	Server *conf.Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Data   *Data        `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *conf.Server

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

func (x *Bootstrap) ProtoReflect() protoreflect.Message

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

type Client

type Client struct {
	Addr    string               `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Client) Descriptor deprecated

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

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetAddr

func (x *Client) GetAddr() string

func (*Client) GetTimeout

func (x *Client) GetTimeout() *durationpb.Duration

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

func (x *Client) ProtoReflect() protoreflect.Message

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

type Data

type Data struct {
	Database *conf.Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Redis    *conf.Redis    `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`
	Nats     *Nats          `protobuf:"bytes,3,opt,name=nats,proto3" json:"nats,omitempty"`
	Profile  *Client        `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetDatabase

func (x *Data) GetDatabase() *conf.Database

func (*Data) GetNats

func (x *Data) GetNats() *Nats

func (*Data) GetProfile

func (x *Data) GetProfile() *Client

func (*Data) GetRedis

func (x *Data) GetRedis() *conf.Redis

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type Nats

type Nats struct {
	NatsHost                string `protobuf:"bytes,1,opt,name=nats_host,json=natsHost,proto3" json:"nats_host,omitempty"`
	TopicPublishTransaction string `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Nats) Descriptor deprecated

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

Deprecated: Use Nats.ProtoReflect.Descriptor instead.

func (*Nats) GetNatsHost

func (x *Nats) GetNatsHost() string

func (*Nats) GetTopicPublishTransaction

func (x *Nats) GetTopicPublishTransaction() string

func (*Nats) ProtoMessage

func (*Nats) ProtoMessage()

func (*Nats) ProtoReflect

func (x *Nats) ProtoReflect() protoreflect.Message

func (*Nats) Reset

func (x *Nats) Reset()

func (*Nats) String

func (x *Nats) String() string

Jump to

Keyboard shortcuts

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