Documentation ¶ Index ¶ type Option func DataSources(ds db.DataSources) Option func Debug(debug bool) Option func Port(port int) Option func Storage(storage *storage.Storage) Option type Server func NewServer(options []Option) *Server func (s *Server) Start() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Option ¶ type Option func(*Server) func DataSources ¶ func DataSources(ds db.DataSources) Option func Debug ¶ func Debug(debug bool) Option func Port ¶ func Port(port int) Option func Storage ¶ func Storage(storage *storage.Storage) Option type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(options []Option) *Server func (*Server) Start ¶ func (s *Server) Start() Start starts an api server according to the cfg configuration Source Files ¶ View all Source files handlers.goresponse_writer_wrapper.goserver.go Directories ¶ Show internal Expand all Path Synopsis graphql Click to show internal directories. Click to hide internal directories.