Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuth ¶ added in v1.1.0
func BasicAuth(storedCredential string) grpc.UnaryServerInterceptor
Types ¶
type Config ¶
type Config struct { Enable bool `toml:"enable"` EnableWallet bool `toml:"enable_wallet"` Listen string `toml:"listen"` BasicAuth string `toml:"basic_auth"` Gateway GatewayConfig `toml:"gateway"` // Private config WalletsDir string `toml:"-"` DefaultWalletName string `toml:"-"` }
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) BasicCheck ¶ added in v1.5.0
type GatewayConfig ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Recovery ¶ added in v1.2.0
func (s *Server) Recovery() grpc.UnaryServerInterceptor
func (*Server) StartServer ¶
func (*Server) StopServer ¶
func (s *Server) StopServer()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.