config

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: GPL-2.0 Imports: 3 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
	Fish     Fish
}

func NewConfig

func NewConfig() (*Config, error)

type Fish added in v1.0.17

type Fish struct {
	SignIn  int64
	Like    int64
	Content int64
	Comment int64
}

Jump to

Keyboard shortcuts

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