server

package
v0.0.0-...-f32908e Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServer

type AuthServer struct {
	*gin.Engine
	inits.App
}

AuthServer is a grpc server for managing authentication and authorisation.

func NewAuthServer

func NewAuthServer(app inits.App) AuthServer

NewAuthServer creates a new server instance.

func (*AuthServer) Listen

func (server *AuthServer) Listen() error

Listen makes the server listen on specified port.

func (*AuthServer) SayHello

func (server *AuthServer) SayHello(ctx context.Context, msg *generated.Message) (*generated.Message, error)

SayHello replies with message.

Jump to

Keyboard shortcuts

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