Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + type ApiSpec struct + Raw map[string]interface{} + func (o *ApiSpec) UnmarshalJSON(jsonData []byte) error + type AsyncApiSpec struct + Data AsyncApiSpecData + Raw map[string]interface{} + func (o *AsyncApiSpec) UnmarshalJSON(jsonData []byte) error + type AsyncApiSpecData struct + AsyncAPI string + Topics map[string]interface{} + type Cache interface + Delete func(key string) error + Get func(key string) ([]byte, error) + Reset func() error + Set func(key string, entry []byte) error + type Content struct + Data ContentData + Raw map[string]interface{} + func (o *Content) UnmarshalJSON(jsonData []byte) error + type ContentData struct + Description string + DisplayName string + Docs []Document + ID string + Type string + type Document struct + Internal bool + Order string + Source string + Title string + Type string + type Minio interface + GetObject func(bucketName, objectName string, opts minio.GetObjectOptions) (*minio.Object, error) + ListenBucketNotification func(bucketName, prefix, suffix string, events []string, doneCh <-chan struct{}) <-chan minio.NotificationInfo + type Service interface + ApiSpec func(id string) (*ApiSpec, bool, error) + AsyncApiSpec func(id string) (*AsyncApiSpec, bool, error) + Content func(id string) (*Content, bool, error) + Initialize func(stop <-chan struct{}) + func New(minio Minio, cache Cache, bucketName, externalAddress, assetsFolder string) Service