Documentation ¶
Index ¶
- Variables
- type Server
- func (ps Server) Apply(ctx context.Context, req *propertyv1.ApplyRequest) (*propertyv1.ApplyResponse, error)
- func (s *Server) FlagSet() *run.FlagSet
- func (s *Server) GracefulStop()
- func (s *Server) Name() string
- func (s *Server) PreRun() error
- func (s *Server) Serve() run.StopNotify
- func (s *Server) Validate() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrServerCert = errors.New("invalid server cert file") ErrServerKey = errors.New("invalid server key file") ErrNoAddr = errors.New("no address") ErrQueryMsg = errors.New("invalid query message") )
View Source
var ErrNotExist = errors.New("the object doesn't exist")
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (Server) Apply ¶ added in v0.2.0
func (ps Server) Apply(ctx context.Context, req *propertyv1.ApplyRequest) (*propertyv1.ApplyResponse, error)
func (*Server) GracefulStop ¶
func (s *Server) GracefulStop()
func (*Server) Serve ¶
func (s *Server) Serve() run.StopNotify
Click to show internal directories.
Click to hide internal directories.