Documentation ¶ Index ¶ type Options func WithVersion(version string) Options type Server func NewServer(opts ...Options) *Server func (s *Server) Init() func (s *Server) InitRouter() func (s *Server) Run() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options func(opts *Server) error func WithVersion ¶ func WithVersion(version string) Options type Server ¶ type Server struct { Version string // contains filtered or unexported fields } func NewServer ¶ func NewServer(opts ...Options) *Server func (*Server) Init ¶ func (s *Server) Init() func (*Server) InitRouter ¶ func (s *Server) InitRouter() func (*Server) Run ¶ func (s *Server) Run() Source Files ¶ View all Source files config.go resolverroot.go router.go server.go Directories ¶ Show internal Expand all Path Synopsis internal card middleware model query resolver Click to show internal directories. Click to hide internal directories.