web

package
v0.0.0-...-ec0eb22 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInterceptor

type AuthInterceptor struct {
	// contains filtered or unexported fields
}

type GRPCHandler

type GRPCHandler struct {
	Port       string
	Logger     log.Logger
	GRPCServer *grpc.Server
}

GRPCHandler is holding the GRPC configuration

func NewGRPCHandler

func NewGRPCHandler(
	port string,
	logger log.Logger,
	conf *config.Config,
) (*GRPCHandler, error)

NewGRPCHandler creates and returns an instance of GRPCHandler

func (*GRPCHandler) Run

func (h *GRPCHandler) Run()

Run starts the bot GRPC server

func (*GRPCHandler) Stop

func (h *GRPCHandler) Stop()

Stop stops the bot GRPC server

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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