Documentation ¶ Index ¶ type Config type Server func NewServer(config Config) *Server func (s *Server) Address() string func (s *Server) Mount(mountFunc func(server *grpc.Server)) func (s *Server) Run(ctx context.Context) error func (s *Server) Shutdown() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Port string } type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(config Config) *Server func (*Server) Address ¶ func (s *Server) Address() string func (*Server) Mount ¶ func (s *Server) Mount(mountFunc func(server *grpc.Server)) func (*Server) Run ¶ func (s *Server) Run(ctx context.Context) error func (*Server) Shutdown ¶ func (s *Server) Shutdown() Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.