cmd/gondole-cli/main.go
changeset 84 519be52bfced
parent 83 adc39ae774c0
child 85 abf0f5e40281
equal deleted inserted replaced
83:adc39ae774c0 84:519be52bfced
    24 	}
    24 	}
    25 
    25 
    26 	defaultInstanceURL = "https://mastodon.social"
    26 	defaultInstanceURL = "https://mastodon.social"
    27 )
    27 )
    28 
    28 
    29 // Config holds our parameters
    29 // Server holds our application details
    30 type Server struct {
    30 type Server struct {
    31 	ID          string `json:"id"`
    31 	ID          string `json:"id"`
    32 	Name        string `json:"name"`
    32 	Name        string `json:"name"`
    33 	BearerToken string `json:"bearer_token"`
    33 	BearerToken string `json:"bearer_token"`
    34 	APIBase     string `json:"base_url"`
    34 	APIBase     string `json:"base_url"`