signal

package
v0.0.0-...-b742d14 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	Enabled bool   `mapstructure:"enabled"`
	Key     string `mapstructure:"key"`
	KeyType string `mapstructure:"key_type"`
}

AuthConfig auth config

func (AuthConfig) KeyFunc

func (a AuthConfig) KeyFunc(t *jwt.Token) (interface{}, error)

KeyFunc auth key types

type Config

type Config struct {
	Global global     `mapstructure:"global"`
	Log    logConf    `mapstructure:"log"`
	Nats   natsConf   `mapstructure:"nats"`
	Node   nodeConf   `mapstructure:"node"`
	Avp    avpConf    `mapstructure:"avp"`
	Signal signalConf `mapstructure:"signal"`
}

Config for biz node

type Signal

type Signal struct {
	ion.Node
	// contains filtered or unexported fields
}

func NewSignal

func NewSignal(conf Config) (*Signal, error)

func (*Signal) Close

func (s *Signal) Close()

func (*Signal) Director

func (s *Signal) Director(ctx context.Context, fullMethodName string) (context.Context, grpc.ClientConnInterface, error)

func (*Signal) Start

func (s *Signal) Start() error

Jump to

Keyboard shortcuts

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