18 lines
309 B
Go
18 lines
309 B
Go
|
package client
|
||
|
|
||
|
type (
|
||
|
// Credentials provides constant credential values.
|
||
|
Credentials struct {
|
||
|
Username string `json:"username"`
|
||
|
Password string `json:"password"`
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (c *Credentials) GetUsername() string {
|
||
|
return c.Username
|
||
|
}
|
||
|
|
||
|
func (c *Credentials) GetPassword() string {
|
||
|
return c.Password
|
||
|
}
|