config

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	AccessSecret string
	AccessExpire int64
}

type Config

type Config struct {
	service.ServiceConf
	ListenOn   string
	Auth       Auth
	CdnHost    string
	AuthRPC    zrpc.RpcClientConf
	MomentRPC  zrpc.RpcClientConf
	SystemRPC  zrpc.RpcClientConf
	LikeRPC    zrpc.RpcClientConf
	UserRPC    zrpc.RpcClientConf
	StsRPC     zrpc.RpcClientConf
	CommentRPC zrpc.RpcClientConf
	PostRPC    zrpc.RpcClientConf
}

func NewConfig

func NewConfig() (*Config, error)

Jump to

Keyboard shortcuts

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