constant

package
v0.0.0-...-18974b4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserServiceName     = "user"
	PublishServiceName  = "publish"
	MessageServiceName  = "message"
	RelationServiceName = "relation"
	FeedServiceName     = "feed"
	FavoriteServiceName = "favorite"
	CommentServiceName  = "comment"
)

Variables

View Source
var (
	ServiceConfig     *viper.Viper
	ETCDAddress       []string
	ExportEndpoint    string
	ServerServiceName string
	ServerAddress     string
)

Functions

This section is empty.

Types

type Status

type Status int
const (
	Success Status = iota
	Failed
	TokenInvalid
)

func (Status) GetInfo

func (s Status) GetInfo() (int64, string)

Jump to

Keyboard shortcuts

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