Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completer ¶
type Completer struct {
// contains filtered or unexported fields
}
Completer is a struct that is initialisied in main and it posses the publicURL for our storage
func NewCompleter ¶
NewCompleter is called from main to inject baseURL for our public storage. This function is called in main before any graphql related stuff
func (*Completer) GetOptionalPublicURL ¶
GetOptionalPublicURL ..
func (*Completer) GetPublicURL ¶
GetPublicURL takes the filename that is recorded on entity and returns the URL of the file Exaple input and output ; profile/avatar.jpg ---> https://media.picnic.com/profile/avatar.jpg
func (*Completer) GetPublicURLForThumb ¶
GetPublicURLForThumb returns Thumbnail version version of the given image/video filename. Exaple input and output ; profile/avatar.jpg ---> https://media.picnic.com/profile/avatar_thumb.jpg