server

package
v0.0.0-...-893f904 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

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

func StartServers

func StartServers(
	config *config.Config,
	grpcOpts ...grpc.ServerOption) (handle *Handle, err error)

func (*Handle) Addr

func (h *Handle) Addr() net.Addr

func (*Handle) Close

func (h *Handle) Close() (err error)

func (*Handle) Serve

func (h *Handle) Serve() error

type NoAuthorizer

type NoAuthorizer struct {
}

func (NoAuthorizer) Authorize

func (n NoAuthorizer) Authorize(string, string, string) error

type NullAuthorizer

type NullAuthorizer struct {
}

func (NullAuthorizer) Authorize

func (n NullAuthorizer) Authorize(string, string, string) error

Jump to

Keyboard shortcuts

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