Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRouter ¶
func InitRouter(b *Bloodlines)
InitRouter connects the handlers to endpoints with gin
Types ¶
type Bloodlines ¶
type Bloodlines struct {
// contains filtered or unexported fields
}
Bloodlines is the main server object which routes requests
func New ¶
func New(config *config.Root) (*Bloodlines, error)
New returns a ready-to-run Bloodlines struct from the given config
func (*Bloodlines) Start ¶
func (b *Bloodlines) Start(port string)
Start begins the Bloodlines server
Click to show internal directories.
Click to hide internal directories.