server

package
v0.0.0-...-82e522f Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	DB   *db.DB
	Host string
	Port string
}

func (*Server) Add

func (s *Server) Add(ctx context.Context, request *proto.CardRequest) (*proto.CardResponse, error)

func (Server) Database

func (s Server) Database() *db.DB

func (Server) GetHost

func (s Server) GetHost() string

func (Server) GetPort

func (s Server) GetPort() string

Jump to

Keyboard shortcuts

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