{"modulePath":"github.com/Cosin/framework","version":"v0.0.0-20200411092139-678c32f7526f","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Types\n\n```go\ntype APIModule struct {\n}\n```\nAPIModule is used to start API server\n\n```go\nfunc (module APIModule) Name() string\n```\nName return API\n\n```go\nfunc (module APIModule) Setup(cfg *config.Config)\n```\nStart api server\n\n```go\nfunc (module APIModule) Start() error\n```\n\n```go\nfunc (module APIModule) Stop() error\n```\nStop api server\n\n","path":"github.com/Cosin/framework/modules/api","name":"api","synopsis":"","isRedistributable":true}
