api

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoginSuccess = "login success!"
)

Variables

View Source
var (
	ErrLoginFailed      = errors.New("cannot login")
	ErrCheckClientType  = errors.New("something wrong when checking client's type")
	ErrContractNotFound = errors.New("cannot find client's code")
)

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(cfg config.Config) *Server

func (*Server) Start

func (s *Server) Start() (err error)

Jump to

Keyboard shortcuts

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